Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for isRegularFile (0.43 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-core/src/main/java/org/apache/maven/ReactorReader.java

                    if (Files.isRegularFile(consumer)) {
                        return consumer.toFile();
                    }
                }
            }
            Path target = getArtifactPath(artifact);
            return Files.isRegularFile(target) ? target.toFile() : null;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Dec 15 11:20:38 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  3. 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)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/MavenInvoker.java

                            installationToolchainsFile != null && Files.isRegularFile(installationToolchainsFile)
                                    ? Sources.fromPath(installationToolchainsFile)
                                    : null)
                    .userToolchainsSource(
                            userToolchainsFile != null && Files.isRegularFile(userToolchainsFile)
                                    ? Sources.fromPath(userToolchainsFile)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                }
            });
        }
    
        protected void failIfFileNotExists(LocalContext context, String fileName, String message) {
            Path path = context.cwd.resolve(fileName);
            if (!Files.isRegularFile(path)) {
                context.parsingFailed = true;
                context.parserRequest.logger().error(message + ": " + path);
            }
        }
    
        protected InvokerRequest getInvokerRequest(LocalContext context) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:39:11 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            if (context.options().altUserSettings().isPresent()) {
                userSettingsFile =
                        context.cwd.resolve(context.options().altUserSettings().get());
    
                if (!Files.isRegularFile(userSettingsFile)) {
                    throw new FileNotFoundException("The specified user settings file does not exist: " + userSettingsFile);
                }
            } else {
                String userSettingsFileStr =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/internal/DefaultPluginPrefixResolver.java

                ArtifactRepository repository,
                LinkedHashMap<String, Set<String>> candidates) {
            if (metadata != null && metadata.getPath() != null && Files.isRegularFile(metadata.getPath())) {
                try {
                    Map<String, ?> options = Collections.singletonMap(MetadataReader.IS_STRICT, Boolean.FALSE);
    
                    Metadata pluginGroupMetadata =
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 17 13:14:10 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top