Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for baseDirectory (1.19 sec)

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

         * @param baseDirectory the base directory that the path must be within (must not be {@literal null})
         * @return true if the path is safe (within the base directory), false otherwise
         */
        public static boolean isPathSafe(final Path pathToCheck, final Path baseDirectory) {
            assertArgumentNotNull("pathToCheck", pathToCheck);
            assertArgumentNotNull("baseDirectory", baseDirectory);
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            DefaultRepositoryLayout layout = new DefaultRepositoryLayout();
            ArtifactRepositoryPolicy blah = new ArtifactRepositoryPolicy(
                    true, ArtifactRepositoryPolicy.UPDATE_POLICY_ALWAYS, ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
            return new MavenArtifactRepository(
                    "local", "file://" + baseDirectory.toUri().getRawPath(), layout, blah, blah);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Oct 28 13:01:07 UTC 2025
    - 43.2K bytes
    - Viewed (0)
Back to top