- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for EvalSymlinks (0.18 sec)
-
misc/ios/go_ios_exec.go
func subdir() (pkgpath string, underGoRoot bool, err error) { cwd, err := os.Getwd() if err != nil { return "", false, err } cwd, err = filepath.EvalSymlinks(cwd) if err != nil { log.Fatal(err) } goroot, err := filepath.EvalSymlinks(runtime.GOROOT()) if err != nil { return "", false, err } if strings.HasPrefix(cwd, goroot) { subdir, err := filepath.Rel(goroot, cwd) if err != nil {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Jun 18 16:32:49 UTC 2024 - 8.7K bytes - Viewed (0) -
doc/godebug.md
set, and reparse points that are not symlinks, Unix sockets, or dedup files now always have [`os.ModeIrregular`](/pkg/os#ModeIrregular) set. As a result of these changes, [`filepath.EvalSymlinks`](/pkg/path/filepath#EvalSymlinks) no longer evaluates mount points, which was a source of many inconsistencies and bugs. At previous versions (`winsymlink=0`), mount points are treated as symlinks,
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Oct 28 14:46:33 UTC 2024 - 17.2K bytes - Viewed (0) -
docs/debugging/reorder-disks/main.go
result := make(map[string]string) err := filepath.Walk("/dev/disk/by-uuid/", func(path string, info os.FileInfo, err error) error { if err != nil { return err } realPath, err := filepath.EvalSymlinks(path) if err != nil { return err } result[realPath] = strings.TrimPrefix(path, "/dev/disk/by-uuid/") return nil }) if err != nil { return nil, err } return result, nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.4K bytes - Viewed (0) -
api/go1.txt
pkg path/filepath, func Abs(string) (string, error) pkg path/filepath, func Base(string) string pkg path/filepath, func Clean(string) string pkg path/filepath, func Dir(string) string pkg path/filepath, func EvalSymlinks(string) (string, error) pkg path/filepath, func Ext(string) string pkg path/filepath, func FromSlash(string) string pkg path/filepath, func Glob(string) ([]string, error)
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)