- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for symlinks (0.1 seconds)
-
android/guava/src/com/google/common/reflect/ClassPath.java
* <li>It assumes that <a href="https://github.com/google/guava/issues/3349">any class with a * {@code $} in its name is a nested class</a>. * </ul> * * <h2>{@code ClassPath} and symlinks</h2> * * <p>In the case of directory classloaders, symlinks are supported but cycles are not traversed. * This guarantees discovery of each unique loadable resource. However, not all possible * aliases for resources on cyclic paths will be listed.
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) { Path symlink = fs.getPath("/symlinktodir"); Path dir = fs.getPath("dir"); assertEquals(6, MoreFiles.listFiles(symlink).size()); MoreFiles.deleteDirectoryContents(symlink); assertTrue(Files.exists(symlink, NOFOLLOW_LINKS)); assertTrue(Files.exists(symlink)); assertTrue(Files.exists(dir));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
gradlew
# ############################################################################## # Attempt to set APP_HOME # Resolve links: $0 may be a link app_path=$0 # Need this for daisy-chained symlinks. while APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path [ -h "$app_path" ] do ls=$( ls -ld "$app_path" ) link=${ls#*' -> '} case $link in #(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Mar 20 08:59:10 GMT 2026 - 8.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
try (FileSystem fs = newTestFileSystem(SECURE_DIRECTORY_STREAM)) { Path symlink = fs.getPath("/symlinktodir"); Path dir = fs.getPath("dir"); assertEquals(6, MoreFiles.listFiles(symlink).size()); MoreFiles.deleteDirectoryContents(symlink); assertTrue(Files.exists(symlink, NOFOLLOW_LINKS)); assertTrue(Files.exists(symlink)); assertTrue(Files.exists(dir));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
apache-maven/src/assembly/maven/bin/mvn
cygwin=false; mingw=false; case "`uname`" in CYGWIN*) cygwin=true;; MINGW*) mingw=true;; esac ## resolve links - $0 may be a link to Maven's home PRG="$0" # need this for relative symlinks while [ -h "$PRG" ] ; do ls=`ls -ld "$PRG"` link=`expr "$ls" : '.*-> \(.*\)$'` if expr "$link" : '/.*' > /dev/null; then PRG="$link" else PRG="`dirname "$PRG"`/$link" fi done
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 9.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
.scanResources()) .hasSize(1); } finally { jarFile.delete(); } } @AndroidIncompatible // Path (for symlink creation) public void testScanDirectory_symlinkCycle() throws IOException { if (isWindows()) { return; // TODO: b/136041958 - Can we detect cycles under Windows? }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/IndexExportJobTest.java
assertNotNull(result); assertTrue(result.normalize().startsWith(tempDir.normalize()), "Path must stay within base directory: " + result); } // --- symlink traversal prevention tests --- @Test public void test_exportDocument_symlinkIntermediateDir() throws Exception { final Path outsideDir = Files.createTempDirectory("outside"); try {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 09:08:38 GMT 2026 - 66.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/job/IndexExportJob.java
Files.createDirectories(filePath.getParent()); final Path realParent = filePath.getParent().toRealPath(); if (!realParent.startsWith(realBase)) { logger.warn("Symlink traversal detected: url={}, realParent={}, realBase={}", url, realParent, realBase); return; } final byte[] bytes = content.getBytes(StandardCharsets.UTF_8);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 02:24:08 GMT 2026 - 10.8K bytes - Click Count (0) -
android/guava/src/com/google/common/io/Files.java
* </ul> * * <p>These heuristics do not always match the behavior of the filesystem. In particular, consider * the path {@code a/../b}, which {@code simplifyPath} will change to {@code b}. If {@code a} is a * symlink to {@code x}, {@code a/../b} may refer to a sibling of {@code x}, rather than the * sibling of {@code a} referred to by {@code b}. * * @since 11.0 */ public static String simplifyPath(String pathname) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 32.8K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.33.md
- Fixed a test failure in `TestSetVolumeOwnershipOwner` for `fsGroup=3000` and symlink cases in `volume_linux_test.go`. The tests were failing due to invalid ownership verification and the issue has been resolved by adjusting file
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Mar 19 03:17:58 GMT 2026 - 369K bytes - Click Count (0)