- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 61 for symlinks (0.16 sec)
-
cmd/os_windows.go
var typ os.FileMode // regular file switch { case data.FileAttributes&syscall.FILE_ATTRIBUTE_REPARSE_POINT != 0: // Reparse point is a symlink fi, err := os.Stat(pathJoin(dirPath, name)) if err != nil { // It got deleted in the meantime, not found // or returns too many symlinks ignore this // file/directory. if osIsNotExist(err) || isSysErrPathNotFound(err) || isSysErrTooManySymlinks(err) { continue
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Oct 18 18:08:15 UTC 2023 - 5.1K bytes - Viewed (0) -
cmd/os_other.go
if err != nil { // It got deleted in the meantime, not found // or returns too many symlinks ignore this // file/directory. if osIsNotExist(err) || isSysErrPathNotFound(err) || isSysErrTooManySymlinks(err) { continue } return err } // Ignore symlinked directories. if fi.IsDir() { continue } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 13 15:14:36 UTC 2023 - 4K bytes - Viewed (0) -
cmd/os-readdir_test.go
t.Fatalf("Unable to create a file, %s", err) } // Symlink will not be added to entries. if err := os.Symlink(filepath.Join(dir, name1), filepath.Join(dir, name2)); err != nil { t.Fatalf("Unable to create a symlink, %s", err) } // Add to entries. entries = append(entries, name1) // Symlinks are preserved for regular files entries = append(entries, name2) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 7.5K bytes - Viewed (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));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0) -
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.
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0) -
cmd/service.go
cmd.Env = os.Environ() err := cmd.Run() if err == nil { os.Exit(0) } return err } // Use the original binary location. This works with symlinks such that if // the file it points to has been changed we will use the updated symlink. argv0, err := exec.LookPath(os.Args[0]) if err != nil { return err } // Invokes the execve system call.
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Feb 28 07:02:14 UTC 2024 - 3.8K bytes - Viewed (0) -
ci/official/upload.sh
FINAL_URI="$TFCI_ARTIFACT_FINAL_GCS_URI/$TF_VER_FULL" gsutil -m rsync -d -r "$DOWNLOADS" "$FINAL_URI" # Also mirror the latest-uploaded folder to the "latest" directory. # GCS does not support symlinks. gsutil -m rsync -d -r "$FINAL_URI" "$TFCI_ARTIFACT_LATEST_GCS_URI" fi if [[ "$TFCI_ARTIFACT_FINAL_PYPI_ENABLE" == 1 ]]; then twine upload $TFCI_ARTIFACT_FINAL_PYPI_ARGS "$DOWNLOADS"/*.whl
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Jan 24 20:52:12 UTC 2024 - 2.8K bytes - Viewed (0) -
cmd/os_unix.go
if err != nil { // It got deleted in the meantime, not found // or returns too many symlinks ignore this // file/directory. if osIsNotExist(err) || isSysErrPathNotFound(err) || isSysErrTooManySymlinks(err) { continue } return err } // Ignore symlinked directories. if typ&os.ModeSymlink == os.ModeSymlink && fi.IsDir() { continue }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 9.3K bytes - Viewed (0) -
buildscripts/checkdeps.sh
## ## readlink() { ## return /bin/readlink -f "$1" ## } ## readlink() { TARGET_FILE=$1 cd $(dirname $TARGET_FILE) TARGET_FILE=$(basename $TARGET_FILE) # Iterate down a (possible) chain of symlinks while [ -L "$TARGET_FILE" ]; do TARGET_FILE=$(env readlink $TARGET_FILE) cd $(dirname $TARGET_FILE) TARGET_FILE=$(basename $TARGET_FILE) done # Compute the canonicalized name by finding the physical path
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 05:08:11 UTC 2024 - 3.4K bytes - Viewed (0) -
ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh
ln -s "/usr/include/linux" "/${TARGET}/usr/include/linux" ln -s "/usr/include/asm-generic" "/${TARGET}/usr/include/asm-generic" ln -s "/usr/include/x86_64-linux-gnu/asm" "/${TARGET}/usr/include/asm" # Symlinks in the binary distribution are set up for installation in /usr, we # need to fix up all the links to stay within /${TARGET}. /fixlinks.sh "/${TARGET}" # Patch to allow non-glibc 2.12 compatible builds to work.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Sep 24 20:45:58 UTC 2024 - 8K bytes - Viewed (0)