Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 93 for outdir (0.06 seconds)

  1. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         *
         * @param rootDir the root directory (must not be {@literal null})
         * @param handler the handler to process classes (must not be {@literal null})
         */
        public static void forEach(final File rootDir, final ClassHandler handler) {
            assertArgumentNotNull("rootDir", rootDir);
            assertArgumentNotNull("handler", handler);
    
            forEach(rootDir, null, handler);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/io/TraversalUtil.java

        static {
            addTraverserFactory("file", (url, rootPackage, rootDir) -> new FileSystemTraverser(getBaseDir(url, rootDir), rootPackage, rootDir));
            addTraverserFactory("jar", JarFileTraverser::new);
            addTraverserFactory("zip", (url, rootPackage,
                    rootDir) -> new JarFileTraverser(JarFileUtil.create(new File(ZipFileUtil.toZipFilePath(url))), rootPackage, rootDir));
            addTraverserFactory("code-source",
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

         *
         * @param rootDir the root directory (must not be {@literal null})
         * @param handler the handler to process resources (must not be {@literal null})
         */
        public static void forEach(final File rootDir, final ResourceHandler handler) {
            assertArgumentNotNull("rootDir", rootDir);
            assertArgumentNotNull("handler", handler);
    
            forEach(rootDir, null, handler);
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. misc/ios/go_ios_exec.go

    		)
    		if err != nil {
    			return "", err
    		}
    	}
    
    	return finalPkgpath, nil
    }
    
    // subdir determines the package based on the current working directory,
    // and returns the path to the package source relative to $GOROOT (or $GOPATH).
    func subdir() (pkgpath string, underGoRoot bool, err error) {
    	cwd, err := os.Getwd()
    	if err != nil {
    		return "", false, err
    	}
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Sep 16 00:34:45 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

            if (destDir.length() > 0) {
                transformer.setParameter("base.dir", destDir + "/");
            }
            FileOutputStream outstr = new FileOutputStream(dest);
            try {
                transformer.transform(new StreamSource(source), new StreamResult(outstr));
            } finally {
                outstr.close();
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 2.2K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/FilesFileTraverserTest.java

    @NullUnmarked
    public class FilesFileTraverserTest extends IoTestCase {
    
      private File rootDir;
    
      @Override
      public void setUp() throws IOException {
        rootDir = createTempDir();
      }
    
      public void testFileTraverser_emptyDirectory() throws Exception {
        assertThat(Files.fileTraverser().breadthFirst(rootDir)).containsExactly(rootDir);
      }
    
      public void testFileTraverser_nonExistingFile() throws Exception {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  7. misc/go_android_exec/main.go

    }
    
    // adbCopyTree copies testdata, go.mod, go.sum files from subdir
    // and from parent directories all the way up to the root of subdir.
    // go.mod and go.sum files are needed for the go tool modules queries,
    // and the testdata directories for tests.  It is common for tests to
    // reach out into testdata from parent packages.
    func adbCopyTree(deviceCwd, subdir string) error {
    	dir := ""
    	for {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/core/io/FileUtilTest.java

         */
        @Test
        public void testIsPathSafe_PathInsideBase() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path subDir = Files.createDirectory(baseDir.resolve("subdir"));
            final Path file = Files.createFile(subDir.resolve("test.txt"));
    
            assertTrue("Path inside base should be allowed", FileUtil.isPathSafe(file, baseDir));
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  9. api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java

            assertEquals(path.normalize(), source.getPath());
            assertEquals(path.toString(), source.getLocation());
    
            Source resolved = source.resolve("subdir");
            assertNotNull(resolved);
            assertEquals(path.resolve("subdir").normalize(), resolved.getPath());
        }
    
        @Test
        void testBuildPathSourceFunctionality() {
            // Test build source functionality
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                block()
            }
        }
    
        private
        fun setupRunBinaryCompatibility(v1: File.() -> Unit, v2: File.() -> Unit): File {
            rootDir.withFile("version.txt", "9.0.0")
    
            return rootDir.withUniqueDirectory("input-build").apply {
    
                withSettings("""include("v1", "v2", "binary-compatibility")""")
                withBuildScript(
                    """
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 18K bytes
    - Click Count (0)
Back to Top