io/fs.PathError.Path (field)
53 uses
io/fs (current package)
fs.go#L245: Path string
fs.go#L249: func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() }
readdir.go#L41: return nil, &PathError{Op: "readdir", Path: name, Err: errors.New("not implemented")}
sub.go#L36: return nil, &PathError{Op: "sub", Path: dir, Err: errors.New("invalid name")}
sub.go#L55: return "", &PathError{Op: op, Path: name, Err: errors.New("invalid name")}
sub.go#L74: if short, ok := f.shorten(e.Path); ok {
sub.go#L75: e.Path = short
archive/zip
reader.go#L706: return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
reader.go#L778: return 0, &fs.PathError{Op: "read", Path: d.e.name, Err: errors.New("is a directory")}
github.com/golang-migrate/migrate/v4/source/file
file.go#L90: return 0, &os.PathError{Op: "first", Path: f.path, Err: os.ErrNotExist}
file.go#L97: return 0, &os.PathError{Op: fmt.Sprintf("prev for version %v", version), Path: f.path, Err: os.ErrNotExist}
file.go#L104: return 0, &os.PathError{Op: fmt.Sprintf("next for version %v", version), Path: f.path, Err: os.ErrNotExist}
file.go#L115: return nil, "", &os.PathError{Op: fmt.Sprintf("read version %v", version), Path: f.path, Err: os.ErrNotExist}
file.go#L126: return nil, "", &os.PathError{Op: fmt.Sprintf("read version %v", version), Path: f.path, Err: os.ErrNotExist}
os
dir_darwin.go#L31: return nil, nil, nil, &PathError{Op: call, Path: f.name, Err: errno}
dir_darwin.go#L52: return names, dirents, infos, &PathError{Op: "readdir", Path: f.name, Err: errno}
exec_posix.go#L59: return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
file.go#L131: return 0, &PathError{Op: "readat", Path: f.name, Err: errors.New("negative offset")}
file.go#L207: return 0, &PathError{Op: "writeat", Path: f.name, Err: errors.New("negative offset")}
file.go#L257: return &PathError{Op: "mkdir", Path: name, Err: syscall.ENOTDIR}
file.go#L265: return &PathError{Op: "mkdir", Path: name, Err: e}
file.go#L295: return &PathError{Op: "chdir", Path: dir, Err: e}
file.go#L370: return &PathError{Op: op, Path: f.name, Err: err}
file.go#L638: return nil, &PathError{Op: "open", Path: name, Err: ErrInvalid}
file_posix.go#L84: return &PathError{Op: "chmod", Path: name, Err: e}
file_posix.go#L112: return &PathError{Op: "chown", Path: name, Err: e}
file_posix.go#L128: return &PathError{Op: "lchown", Path: name, Err: e}
file_posix.go#L185: return &PathError{Op: "chtimes", Path: name, Err: e}
file_unix.go#L226: return nil, &PathError{Op: "open", Path: name, Err: e}
file_unix.go#L255: err = &PathError{Op: "close", Path: file.name, Err: e}
file_unix.go#L287: return &PathError{Op: "truncate", Path: name, Err: e}
file_unix.go#L324: return &PathError{Op: "remove", Path: name, Err: e}
file_unix.go#L383: return "", &PathError{Op: "readlink", Path: name, Err: e}
path.go#L25: 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#L73: return &PathError{Op: "unlinkat", Path: base, Err: err}
removeall_at.go#L83: return &PathError{Op: "fstatat", Path: base, Err: statErr}
removeall_at.go#L87: return &PathError{Op: "unlinkat", Path: base, Err: err}
removeall_at.go#L102: recurseErr = &PathError{Op: "openfdat", Path: base, Err: err}
removeall_at.go#L116: return &PathError{Op: "readdirnames", Path: base, Err: readErr}
removeall_at.go#L124: pathErr.Path = base + string(PathSeparator) + pathErr.Path
removeall_at.go#L162: return &PathError{Op: "unlinkat", Path: base, Err: unlinkError}
stat_unix.go#L22: return nil, &PathError{Op: "stat", Path: f.name, Err: err}
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#L34: return nil, &PathError{Op: "createtemp", Path: pattern, Err: err}
tempfile.go#L46: return nil, &PathError{Op: "createtemp", Path: dir + string(PathSeparator) + prefix + "*" + suffix, Err: ErrExist}
tempfile.go#L84: return "", &PathError{Op: "mkdirtemp", Path: pattern, Err: err}
tempfile.go#L99: return "", &PathError{Op: "mkdirtemp", Path: dir + string(PathSeparator) + prefix + "*" + suffix, Err: ErrExist}
os/exec
exec_unix.go#L21: pe.Op == "write" && pe.Path == "|1" &&
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |