- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for symlink (0.06 seconds)
-
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) -
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) -
ci/devinfra/docker/windows2022/Dockerfile
# Symlink a directory, to have it pretend be the T:\ drive. # This drive letter is used by internal CI, # and part of it is mounted to the container during the container's creation. # # While the mount argument (`-v host_path:container_path`) still requires # `container_path` to be a legitimate C:\ path, in this case, 'C:\drive_t', # this symlink does allow for the convenience of passing unedited paths
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Mar 04 19:50:57 GMT 2026 - 10.4K 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/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) -
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) -
.bazelrc
common:windows --host_copt=-D_ENABLE_EXTENDED_ALIGNED_STORAGE # Enable the runfiles symlink tree on Windows. This makes it possible to build # the pip package on Windows without an intermediate data-file archive, as the # build_pip_package script in its current form (as of Aug 2023) uses the # runfiles symlink tree to decide what to put into the Python wheel. startup --windows_enable_symlinks common:windows --enable_runfiles
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Mar 28 04:33:01 GMT 2026 - 58.9K 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) -
src/archive/zip/reader_test.go
{ Name: "r/r.zip", Content: rZipBytes(), Modified: time.Date(2010, 3, 4, 0, 24, 16, 0, time.UTC), Mode: 0666, }, }, }, { Name: "symlink.zip", File: []ZipTestFile{ { Name: "symlink", Content: []byte("../target"), Modified: time.Date(2012, 2, 3, 19, 56, 48, 0, timeZone(-2*time.Hour)), Mode: 0777 | fs.ModeSymlink, }, }, }, {Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 15 18:35:56 GMT 2026 - 57.9K 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)