- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 36 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) -
ci/official/envs/windows_x86_2022
TFCI_WHL_SIZE_LIMIT=450M TFCI_WHL_SIZE_LIMIT_ENABLE=1 TFCI_WHL_IMPORT_TEST_ENABLE=1 TFCI_PYTHON_VERIFY_PIP_INSTALL_ARGS="" # Used to simulate a T:\ drive within the container, to a limited extent, # via a symlink. # Helpful since the internal CI utilizes a T:\ drive, part of which is mounted # to the container, and would result in C:\<path> != T:\<path> mismatches, # when using variables like `TFCI_OUTPUT_DIR` in `docker exec commands,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Nov 06 19:44:26 GMT 2025 - 2.7K 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) -
src/archive/tar/writer_test.go
func TestWriterAddFS(t *testing.T) { fsys := fstest.MapFS{ "emptyfolder": {Mode: 0o755 | os.ModeDir}, "file.go": {Data: []byte("hello")}, "subfolder/another.go": {Data: []byte("world")}, "symlink.go": {Mode: 0o777 | os.ModeSymlink, Data: []byte("file.go")}, // Notably missing here is the "subfolder" directory. This makes sure even // if we don't have a subfolder directory listed. }
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
configure.py
return answer def symlink_force(target, link_name): """Force symlink, equivalent of 'ln -sf'. Args: target: items to link to. link_name: name of the link. """ try: os.symlink(target, link_name) except OSError as e: if e.errno == errno.EEXIST: os.remove(link_name) os.symlink(target, link_name) else: raise e def write_to_bazelrc(line):
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Dec 19 16:32:04 GMT 2025 - 48.3K bytes - Click Count (0)