Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for isRegularFile (0.23 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindMissingDocumentationFiles.java

            }
    
            Set<String> foundAdocFiles = new HashSet<>();
            try (Stream<Path> pathStream = Files.walk(Paths.get(directoryPath))) {
                pathStream.filter(Files::isRegularFile)
                    .filter(p -> p.toString().endsWith(".adoc"))
                    .map(p -> p.getFileName().toString())
                    .forEach(foundAdocFiles::add);
            }
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Aug 21 15:38:58 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenParser.java

            result.add(cliOptions);
            // atFile option
            if (cliOptions.atFile().isPresent()) {
                Path file = context.cwd.resolve(cliOptions.atFile().orElseThrow());
                if (Files.isRegularFile(file)) {
                    result.add(parseMavenAtFileOptions(file));
                } else {
                    throw new IllegalArgumentException("Specified file does not exists (" + file + ")");
                }
            }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 14 12:35:44 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/FileModelSource.java

            if (Files.isDirectory(relatedPom)) {
                // TODO figure out how to reuse ModelLocator.locatePom(File) here
                relatedPom = relatedPom.resolve("pom.xml");
            }
    
            if (Files.isRegularFile(relatedPom) && Files.isReadable(relatedPom)) {
                return new FileModelSource(relatedPom.normalize());
            }
    
            return null;
        }
    
        @Override
        public URI getLocationURI() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Apr 14 13:42:17 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. okhttp-osgi-tests/src/test/kotlin/okhttp3/osgi/OsgiTest.kt

        for (classPathEntry in entries) {
          deployFile(classPathEntry.toPath())
        }
      }
    
      private fun RepositoryPlugin.deployFile(file: Path) {
        if (fileSystem.metadataOrNull(file)?.isRegularFile != true) return
        try {
          fileSystem.read(file) {
            put(inputStream(), RepositoryPlugin.PutOptions())
            println("Deployed ${file.name}")
          }
        } catch (e: IllegalArgumentException) {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/PluginsMetadataGenerator.java

                    && "".equals(artifact.getClassifier())
                    && artifact.getPath() != null) {
                Path artifactPath = artifact.getPath();
                if (Files.isRegularFile(artifactPath)) {
                    try (JarFile artifactJar = new JarFile(artifactPath.toFile(), false)) {
                        ZipEntry pluginDescriptorEntry = artifactJar.getEntry(PLUGIN_DESCRIPTOR_LOCATION);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Mar 25 09:45:07 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top