Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isRegularFile (0.58 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. 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)
  6. 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)
  7. 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)
  8. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        fun zip(destZip: File, srcDir: File) {
            val srcPath = srcDir.toPath()
            Files.walk(srcPath).use { paths ->
                zip(
                    destZip,
                    paths.filter { Files.isRegularFile(it, LinkOption.NOFOLLOW_LINKS) }
                        .map { srcPath.relativize(it).toString() to it.toFile() }
                        .toList()
                )
            }
        }
    
        private
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Nov 05 11:43:49 UTC 2025
    - 12.5K bytes
    - Viewed (1)
  9. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

                        try {
                            final Path path = Paths.get(LaServletContextUtil.getServletContext().getRealPath(key));
                            if (Files.isRegularFile(path)) {
                                return Files.getLastModifiedTime(path).toMillis();
                            }
                        } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    Path path = topDirectory.resolve(stripLeadingAndTrailingQuotes(arg));
                    if (Files.isDirectory(path)) {
                        topDirectory = path;
                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            System.err.println("Directory " + topDirectory
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
Back to top