- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 136 for symlinks (0.21 sec)
-
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) -
platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# ############################################################################## # 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#*' -> '}
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 23 13:43:33 UTC 2024 - 11K 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) -
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy
when: run "copy" then: file("build/tmp/testchild").mode == mode where: mode << [0755, 0776] } @Requires(UnitTestPreconditions.Symlinks) def "symlinked file permissions are preserved in copy action"() { given: def mode = 0746 def testSourceFile = file(testFileName) testSourceFile << "test file content"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 20K bytes - Viewed (0) -
src/net/http/fs.go
// by [filepath.Separator], which isn't necessarily '/'. // // Note that Dir could expose sensitive files and directories. Dir will follow // symlinks pointing out of the directory tree, which can be especially dangerous // if serving from a directory in which users are able to create arbitrary symlinks. // Dir will also allow access to files and directories starting with a period, // which could expose sensitive directories like .git or sensitive files like
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 09 17:06:47 UTC 2024 - 31.1K bytes - Viewed (0) -
src/internal/testenv/testenv.go
// HasSymlink reports whether the current system can use os.Symlink. func HasSymlink() bool { ok, _ := hasSymlink() return ok } // MustHaveSymlink reports whether the current system can use os.Symlink. // If not, MustHaveSymlink calls t.Skip with an explanation. func MustHaveSymlink(t testing.TB) { ok, reason := hasSymlink() if !ok { t.Skipf("skipping test: cannot make symlinks on %s/%s: %s", runtime.GOOS, runtime.GOARCH, reason)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 15.7K bytes - Viewed (0) -
src/cmd/go/internal/work/gccgo.go
f, _ = fsys.OverlayPath(f) args = append(args, f) } output, err = sh.runOut(p.Dir, nil, args) return ofile, output, err } // buildImportcfgSymlinks builds in root a tree of symlinks // implementing the directives from importcfg. // This serves as a temporary transition mechanism until // we can depend on gccgo reading an importcfg directly. // (The Go 1.9 and later gc compilers already do.)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 02 22:18:34 UTC 2024 - 19K 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) -
src/os/exec/lp_windows_test.go
default: paths = append(paths, filepath.Join(root, d)) } } return strings.Join(paths, string(os.PathListSeparator)) } // installProgs creates executable files (or symlinks to executable files) at // multiple destination paths. It uses root as prefix for all destination files. func installProgs(t *testing.T, root string, files []string) { for _, f := range files {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 13 19:38:12 UTC 2023 - 16.3K bytes - Viewed (0) -
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)