io/fs.PathError.Op (field)
80 uses
io/fs (current package)
fs.go#L252: Op string
fs.go#L257: 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")}
readlink.go#L29: return "", &PathError{Op: "readlink", Path: name, Err: ErrInvalid}
sub.go#L37: return nil, &PathError{Op: "sub", Path: dir, Err: ErrInvalid}
sub.go#L62: return "", &PathError{Op: op, Path: name, Err: ErrInvalid}
embed
embed.go#L296: return nil, &fs.PathError{Op: "open", Path: name, Err: fs.ErrNotExist}
embed.go#L312: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("not a directory")}
embed.go#L329: return nil, &fs.PathError{Op: "read", Path: name, Err: errors.New("is a directory")}
embed.go#L353: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L370: return 0, &fs.PathError{Op: "seek", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L378: return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
embed.go#L398: return 0, &fs.PathError{Op: "read", Path: d.f.name, Err: errors.New("is a directory")}
os
dir.go#L183: return &PathError{Op: "Copy", Path: newPath, Err: err}
dir.go#L187: return &PathError{Op: "CopyFS", Path: path, Err: ErrInvalid}
dir_unix.go#L89: return names, dirents, infos, &PathError{Op: "readdirent", Path: f.name, Err: errno}
exec_posix.go#L33: pe.Op = "chdir"
exec_posix.go#L61: return nil, &PathError{Op: "fork/exec", Path: name, Err: e}
file.go#L158: return 0, &PathError{Op: "readat", Path: f.name, Err: errors.New("negative offset")}
file.go#L248: return 0, &PathError{Op: "writeat", Path: f.name, Err: errors.New("negative offset")}
file.go#L334: return &PathError{Op: "mkdir", Path: name, Err: e}
file.go#L364: return &PathError{Op: "chdir", Path: dir, Err: e}
file.go#L478: return &PathError{Op: op, Path: f.name, Err: err}
file.go#L760: return nil, &PathError{Op: "open", Path: name, Err: err}
file.go#L781: return nil, &PathError{Op: "readfile", Path: name, Err: err}
file.go#L799: return nil, &PathError{Op: "readdir", Path: name, Err: err}
file.go#L815: return nil, &PathError{Op: "stat", Path: name, Err: err}
file.go#L829: return nil, &PathError{Op: "lstat", Path: name, Err: err}
file.go#L843: return "", &PathError{Op: "readlink", Path: name, Err: err}
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#L182: return &PathError{Op: "chtimes", Path: name, Err: e}
file_unix.go#L264: return nil, &PathError{Op: "open", Path: name, Err: e}
file_unix.go#L294: return nil, &PathError{Op: "open", Path: name, Err: e}
file_unix.go#L318: err = &PathError{Op: "close", Path: file.name, Err: e}
file_unix.go#L349: return &PathError{Op: "truncate", Path: name, Err: e}
file_unix.go#L386: return &PathError{Op: "remove", Path: name, Err: e}
file_unix.go#L438: return "", &PathError{Op: "readlink", Path: name, Err: err}
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#L80: return &PathError{Op: "unlinkat", Path: base, Err: err}
removeall_at.go#L98: return &PathError{Op: "unlinkat", Path: base, Err: uErr}
removeall_at.go#L100: recurseErr = &PathError{Op: "openfdat", Path: base, Err: err}
removeall_at.go#L114: return &PathError{Op: "readdirnames", Path: base, Err: readErr}
removeall_at.go#L160: return &PathError{Op: "unlinkat", Path: base, Err: unlinkError}
root.go#L119: return nil, &PathError{Op: "openat", Path: name, Err: errors.New("unsupported file mode")}
root.go#L151: return &PathError{Op: "mkdirat", Path: name, Err: errors.New("unsupported file mode")}
root.go#L163: return &PathError{Op: "mkdirat", Path: name, Err: errors.New("unsupported file mode")}
root.go#L366: return nil, &PathError{Op: "open", Path: name, Err: ErrInvalid}
root.go#L378: return nil, &PathError{Op: "readdir", Path: name, Err: ErrInvalid}
root.go#L402: return nil, &PathError{Op: "readfile", Path: name, Err: ErrInvalid}
root.go#L415: return "", &PathError{Op: "readlink", Path: name, Err: ErrInvalid}
root.go#L423: return nil, &PathError{Op: "stat", Path: name, Err: ErrInvalid}
root.go#L431: return nil, &PathError{Op: "lstat", Path: name, Err: ErrInvalid}
root_openat.go#L73: return &PathError{Op: "chmodat", Path: name, Err: err}
root_openat.go#L83: return &PathError{Op: "chownat", Path: name, Err: err}
root_openat.go#L93: return &PathError{Op: "lchownat", Path: name, Err: err}
root_openat.go#L103: return &PathError{Op: "chtimesat", Path: name, Err: err}
root_openat.go#L113: return &PathError{Op: "mkdirat", Path: name, Err: err}
root_openat.go#L132: return 0, &PathError{Op: "openat", Err: err}
root_openat.go#L137: return 0, &PathError{Op: "mkdirat", Err: err}
root_openat.go#L168: return struct{}{}, &PathError{Op: "mkdirat", Err: err}
root_openat.go#L173: err = &PathError{Op: "mkdirat", Path: fullname, Err: err}
root_openat.go#L184: return "", &PathError{Op: "readlinkat", Path: name, Err: err}
root_openat.go#L194: return &PathError{Op: "removeat", Path: name, Err: err}
root_openat.go#L207: return &PathError{Op: "RemoveAll", Path: name, Err: syscall.EINVAL}
root_openat.go#L216: return &PathError{Op: "RemoveAll", Path: name, Err: underlyingError(err)}
root_unix.go#L31: return nil, &PathError{Op: "open", Path: name, Err: err}
root_unix.go#L46: return nil, &PathError{Op: "open", Path: name, Err: errors.New("not a directory")}
root_unix.go#L76: return nil, &PathError{Op: "openat", Path: name, Err: err}
root_unix.go#L104: return nil, &PathError{Op: "openat", Path: name, Err: err}
root_unix.go#L143: return nil, &PathError{Op: "statat", Path: 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#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}
os/exec
exec_unix.go#L22: pe.Op == "write" && pe.Path == "|1" &&