- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 162 for symlink2 (0.76 sec)
-
src/path/filepath/path_test.go
// Create "link" in the current working directory as a symlink to an arbitrary // absolute path. On macOS, this path is likely to begin with a symlink // itself: generally either in /var (symlinked to "private/var") or /tmp // (symlinked to "private/tmp"). if err := os.Symlink(tmpDir, "link"); err != nil { t.Fatal(err) } t.Logf(`os.Symlink(%q, "link")`, tmpDir) p, err := filepath.EvalSymlinks("link")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 22 16:38:19 UTC 2024 - 47.1K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/DirectorySnapshotter.java
this.collector = collector; } /** * Snapshots a directory, reusing existing previously known snapshots. * * Follows symlinks and includes them in the returned snapshot. * Snapshots of followed symlinks are marked with {@link AccessType#VIA_SYMLINK}. * * @param absolutePath The absolute path of the directory to snapshot.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 24.4K bytes - Viewed (0) -
src/syscall/syscall_linux_test.go
} err = os.Symlink("file1", "symlink1") if err != nil { t.Fatal(err) } err = syscall.Faccessat(_AT_FDCWD, "symlink1", _R_OK, _AT_SYMLINK_NOFOLLOW) if err != nil { t.Errorf("Faccessat SYMLINK_NOFOLLOW: unexpected error %v", err) } // We can't really test _AT_SYMLINK_NOFOLLOW, because there // doesn't seem to be any way to change the mode of a symlink.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 23K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_gc.go
// Hence the symlink may be deemed unhealthy during that period. // See https://github.com/kubernetes/kubernetes/issues/52172 // // We only remove unhealthy symlink for dead containers klog.V(5).InfoS("Container is still running, not removing symlink", "containerID", containerID, "path", logSymlink) continue } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 15.3K bytes - Viewed (0) -
cmd/kubeadm/app/phases/controlplane/volumes.go
// On some systems where we host-mount /etc/ssl/certs, it is also required to mount additional directories. // This is needed due to symlinks pointing from files in /etc/ssl/certs to these directories. for _, caCertsExtraVolumePath := range caCertsExtraVolumePaths { if isExtraVolumeMountNeeded(caCertsExtraVolumePath) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 09:33:18 UTC 2024 - 11.3K bytes - Viewed (0) -
src/cmd/internal/moddeps/moddeps_test.go
if info.IsDir() && (src == filepath.Join(testenv.GOROOT(t), "bin") || src == filepath.Join(testenv.GOROOT(t), "pkg")) { // If the OS supports symlinks, use them instead // of copying the bin and pkg directories. if err := os.Symlink(src, dst); err == nil { return filepath.SkipDir } } perm := info.Mode() & os.ModePerm if info.Mode()&os.ModeSymlink != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 18.6K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows_test.go
subPath: filepath.Join(testingVolumePath, `symlink`), expectError: false, symlinkTarget: base, }, { volumePath: testingVolumePath, subPath: filepath.Join(testingVolumePath, `symlink\c\d`), expectError: true, symlinkTarget: "", }, { volumePath: testingVolumePath, subPath: filepath.Join(testingVolumePath, `symlink\y926`), expectError: true, symlinkTarget: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 13.8K bytes - Viewed (0) -
src/cmd/go/internal/fsys/fsys.go
continue } if fi.Mode().IsRegular() { return true, nil } // fi is the result of an Lstat, so it doesn't follow symlinks. // But it's okay if the file is a symlink pointing to a regular // file, so use os.Stat to follow symlinks and check that. actualFilePath, _ := OverlayPath(filepath.Join(dir, fi.Name())) fi, err := os.Stat(actualFilePath) if err == nil && fi.Mode().IsRegular() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 06 18:35:34 UTC 2024 - 22.7K bytes - Viewed (0) -
pkg/kubelet/config/file_linux_test.go
} ) func TestWatchFileAdded(t *testing.T) { for _, testCase := range testCases { watchFileAdded(testCase.watchDir, testCase.symlink, t) } } func TestWatchFileChanged(t *testing.T) { for _, testCase := range testCases { watchFileChanged(testCase.watchDir, testCase.symlink, testCase.period, t) } } type testCase struct { lock *sync.Mutex desc string pod runtime.Object
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 14 09:38:23 UTC 2022 - 12.3K bytes - Viewed (0) -
src/testing/fstest/testfs.go
file.Close() if err != nil { t.errorf("%s: Stat: %w", path, err) return } fentry := formatEntry(entry) fientry := formatInfoEntry(info) // Note: mismatch here is OK for symlink, because Open dereferences symlink. if fentry != fientry && entry.Type()&fs.ModeSymlink == 0 { t.errorf("%s: mismatch:\n\tentry = %s\n\tfile.Stat() = %s", path, fentry, fientry) } einfo, err := entry.Info() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 16.3K bytes - Viewed (0)