type io/fs.PathError
17 uses
io/fs (current package)
fs.go#L261: type PathError struct {
fs.go#L267: func (e *PathError) Error() string { return e.Op + " " + e.Path + ": " + e.Err.Error() }
fs.go#L269: func (e *PathError) Unwrap() error { return e.Err }
fs.go#L272: func (e *PathError) Timeout() bool {
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}
sub.go#L80: if e, ok := err.(*PathError); ok {
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
error.go#L46: type PathError = fs.PathError
 |
The pages are generated with Golds v0.8.4. (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. |