type os.PathError
43 uses
os (current package)
dir_unix.go#L73: return names, dirents, infos, &PathError{Op: "readdirent", Path: f.name, Err: errno}
error.go#L46: type PathError = fs.PathError
error.go#L133: case *PathError:
exec_posix.go#L32: pe := err.(*PathError)
exec_posix.go#L60: return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
file.go#L132: return 0, &PathError{Op: "readat", Path: f.name, Err: errors.New("negative offset")}
file.go#L216: return 0, &PathError{Op: "writeat", Path: f.name, Err: errors.New("negative offset")}
file.go#L268: return &PathError{Op: "mkdir", Path: name, Err: e}
file.go#L298: return &PathError{Op: "chdir", Path: dir, Err: e}
file.go#L380: return &PathError{Op: op, Path: f.name, Err: err}
file.go#L642: return nil, &PathError{Op: "stat", Path: name, Err: err}
file.go#L650: err.(*PathError).Path = name
file.go#L663: return nil, &PathError{Op: "readfile", Path: name, Err: err}
file.go#L673: return nil, &PathError{Op: "readdir", Path: name, Err: err}
file.go#L681: return nil, &PathError{Op: "stat", Path: name, Err: err}
file.go#L686: 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#L37: if pe, ok := err.(*PathError); ok {
file_unix.go#L282: return nil, &PathError{Op: "open", Path: name, Err: e}
file_unix.go#L319: err = &PathError{Op: "close", Path: file.name, Err: e}
file_unix.go#L351: return &PathError{Op: "truncate", Path: name, Err: e}
file_unix.go#L388: return &PathError{Op: "remove", Path: name, Err: e}
file_unix.go#L449: 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#L49: if pathErr, ok := err.(*PathError); ok {
removeall_at.go#L75: return &PathError{Op: "unlinkat", Path: base, Err: err}
removeall_at.go#L87: return &PathError{Op: "fstatat", Path: base, Err: statErr}
removeall_at.go#L91: return &PathError{Op: "unlinkat", Path: base, Err: err}
removeall_at.go#L106: recurseErr = &PathError{Op: "openfdat", Path: base, Err: err}
removeall_at.go#L120: return &PathError{Op: "readdirnames", Path: base, Err: readErr}
removeall_at.go#L127: if pathErr, ok := err.(*PathError); ok {
removeall_at.go#L168: 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#L37: return nil, &PathError{Op: "createtemp", Path: pattern, Err: err}
tempfile.go#L49: return nil, &PathError{Op: "createtemp", Path: prefix + "*" + suffix, Err: ErrExist}
tempfile.go#L87: return "", &PathError{Op: "mkdirtemp", Path: pattern, Err: err}
tempfile.go#L102: return "", &PathError{Op: "mkdirtemp", Path: dir + string(PathSeparator) + prefix + "*" + suffix, Err: ErrExist}
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |