io/fs.PathError.Path (field)
58 uses
io/fs (current package)
fs.go#L252: Path string
fs.go#L256: func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() }
readdir.go#L42: return nil, &PathError{Op: "readdir", Path: name, Err: errors.New("not implemented")}
sub.go#L36: return nil, &PathError{Op: "sub", Path: dir, Err: ErrInvalid}
sub.go#L55: return "", &PathError{Op: op, Path: name, Err: ErrInvalid}
sub.go#L74: if short, ok := f.shorten(e.Path); ok {
sub.go#L75: e.Path = short
embed
embed.go#L295: return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
embed.go#L311: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("not a directory")}
embed.go#L328: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("is a directory")}
embed.go#L352: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L369: return 0, &fs.PathError{Op: "seek", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L377: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L397: return 0, &fs.PathError{Op: "read", Path: d.f.name, Err: errors.New("is a directory")}
os
dir.go#L168: return &PathError{Op: "CopyFS", Path: path, Err: ErrInvalid}
dir.go#L187: return &PathError{Op: "Copy", Path: newPath, Err: err}
dir_unix.go#L81: return names, dirents, infos, &PathError{Op: "readdirent", Path: f.name, Err: errno}
exec_posix.go#L61: return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
file.go#L138: return 0, &PathError{Op: "readat", Path: f.name, Err: errors.New("negative offset")}
file.go#L228: return 0, &PathError{Op: "writeat", Path: f.name, Err: errors.New("negative offset")}
file.go#L314: return &PathError{Op: "mkdir", Path: name, Err: e}
file.go#L344: return &PathError{Op: "chdir", Path: dir, Err: e}
file.go#L448: return &PathError{Op: op, Path: f.name, Err: err}
file.go#L698: return nil, &PathError{Op: "open", Path: name, Err: err}
file.go#L706: err.(*PathError).Path = name
file.go#L719: return nil, &PathError{Op: "readfile", Path: name, Err: err}
file.go#L725: e.Path = name
file.go#L737: return nil, &PathError{Op: "readdir", Path: name, Err: err}
file.go#L743: e.Path = name
file.go#L753: return nil, &PathError{Op: "stat", Path: name, Err: err}
file.go#L758: err.(*PathError).Path = name
file_posix.go#L82: return &PathError{Op: "chmod", Path: name, Err: e}
file_posix.go#L110: return &PathError{Op: "chown", Path: name, Err: e}
file_posix.go#L126: return &PathError{Op: "lchown", Path: name, Err: e}
file_posix.go#L191: return &PathError{Op: "chtimes", Path: name, Err: e}
file_unix.go#L283: return nil, &PathError{Op: "open", Path: name, Err: e}
file_unix.go#L313: return nil, &PathError{Op: "open", Path: name, Err: e}
file_unix.go#L337: err = &PathError{Op: "close", Path: file.name, Err: e}
file_unix.go#L368: return &PathError{Op: "truncate", Path: name, Err: e}
file_unix.go#L405: return &PathError{Op: "remove", Path: name, Err: e}
file_unix.go#L464: return "", &PathError{Op: "readlink", Path: name, Err: e}
path.go#L26: return &PathError{Op: "mkdir", Path: path, Err: syscall.ENOTDIR}
removeall_at.go#L25: return &PathError{Op: "RemoveAll", Path: path, Err: syscall.EINVAL}
removeall_at.go#L50: pathErr.Path = parentDir + string(PathSeparator) + pathErr.Path
removeall_at.go#L75: return &PathError{Op: "unlinkat", Path: base, Err: err}
removeall_at.go#L93: return &PathError{Op: "unlinkat", Path: base, Err: uErr}
removeall_at.go#L95: recurseErr = &PathError{Op: "openfdat", Path: base, Err: err}
removeall_at.go#L109: return &PathError{Op: "readdirnames", Path: base, Err: readErr}
removeall_at.go#L117: pathErr.Path = base + string(PathSeparator) + pathErr.Path
removeall_at.go#L157: return &PathError{Op: "unlinkat", Path: base, Err: unlinkError}
stat_unix.go#L35: return nil, &PathError{Op: "stat", Path: name, Err: err}
stat_unix.go#L48: return nil, &PathError{Op: "lstat", Path: name, Err: err}
tempfile.go#L42: return nil, &PathError{Op: "createtemp", Path: pattern, Err: err}
tempfile.go#L54: return nil, &PathError{Op: "createtemp", Path: prefix + "*" + suffix, Err: ErrExist}
tempfile.go#L93: return "", &PathError{Op: "mkdirtemp", Path: pattern, Err: err}
tempfile.go#L108: return "", &PathError{Op: "mkdirtemp", Path: dir + string(PathSeparator) + prefix + "*" + suffix, Err: ErrExist}
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |