Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 1,205 for directory (0.07 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CWD.java

        public static CWD create(Path path) {
            return new CWD(CliUtils.getCanonicalPath(path));
        }
    
        private Path directory;
    
        private CWD(Path directory) {
            this.directory = directory;
        }
    
        @Nonnull
        @Override
        public Path get() {
            return directory;
        }
    
        /**
         * Resolves against current cwd, resulting path is normalized.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 14:09:05 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathMatcherFactory.java

         * The path matcher returned by this method expects directory paths.
         * If that matcher returns {@code false}, then the directory will definitively not contain
         * the paths selected by the matcher given in argument to this method.
         * In such case, the whole directory and all its sub-directories can be skipped.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Jul 21 19:37:56 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  3. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/Cleanup.kt

                    if (stateDir.isDirectory) {
                        logger.lifecycle("Removing old cache directory : $stateDir")
                        delete { delete(stateDir) }
                    }
                }
            }
        }
    }
    
    
    /**
     * Clean up daemon log files produced in integration tests.
     */
    fun FileSystemOperations.removeDaemonLogFiles(dir: Directory) {
        if (dir.asFile.isDirectory) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/IoTestCase.java

        if (testFileUrl == null) {
          throw new RuntimeException("unable to locate testdata directory");
        }
    
        if (testFileUrl.getProtocol().equals("file")) {
          try {
            File testFile = new File(testFileUrl.toURI());
            testDir = testFile.getParentFile(); // the testdata directory
          } catch (Exception ignore) {
            // probably URISyntaxException or IllegalArgumentException
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/locator/ModelLocator.java

    import java.io.File;
    
    /**
     * Locates a POM file within a project base directory.
     *
     * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelLocator {
    
        /**
         * Locates the POM file within the specified project directory. In case the given project directory does not exist
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/CommonsCliUpgradeOptions.java

            }
            return Optional.empty();
        }
    
        @Override
        @Nonnull
        public Optional<String> directory() {
            if (commandLine.hasOption(CLIManager.DIRECTORY)) {
                return Optional.of(commandLine.getOptionValue(CLIManager.DIRECTORY));
            }
            return Optional.empty();
        }
    
        @Override
        @Nonnull
        public Optional<Boolean> infer() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:48:39 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/SourceRoot.java

    public interface SourceRoot {
        /**
         * {@return the root directory where the sources are stored}
         * The path is relative to the <abbr>POM</abbr> file.
         *
         * <h4>Default implementation</h4>
         * The default value depends on whether a {@linkplain #module() module name} is specified in this source root:
         * <ul>
         *   <li>
         *     If no module name, then the default directory is
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  8. cmd/config-dir.go

    	// Points to current configuration directory -- deprecated, to be removed in future.
    	globalConfigDir = defaultConfigDir
    	// Points to current certs directory set by user with --certs-dir
    	globalCertsDir = defaultCertsDir
    	// Points to relative path to certs directory and is <value-of-certs-dir>/CAs
    	globalCertsCADir = defaultCertsCADir
    )
    
    // Get - returns current directory.
    func (dir *ConfigDir) Get() string {
    	return dir.path
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 3K bytes
    - Click Count (0)
  9. cmd/os-readdir_test.go

    type result struct {
    	dir     string
    	entries []string
    }
    
    // Test to read empty directory.
    func setupTestReadDirEmpty(t *testing.T) (testResults []result) {
    	// Add empty entry slice for this test directory.
    	testResults = append(testResults, result{t.TempDir(), []string{}})
    	return testResults
    }
    
    // Test to read non-empty directory with only files.
    func setupTestReadDirFiles(t *testing.T) (testResults []result) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  10. src/archive/zip/reader.go

    	d.dirRecordsThisDisk = b.uint64() // total number of entries in the central directory on this disk
    	d.directoryRecords = b.uint64()   // total number of entries in the central directory
    	d.directorySize = b.uint64()      // size of the central directory
    	d.directoryOffset = b.uint64()    // offset of start of central directory with respect to the starting disk number
    
    	return nil
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Mar 11 22:19:38 GMT 2025
    - 28.4K bytes
    - Click Count (0)
Back to Top