@@ -71,7 +71,7 @@ func NewSyscallError(syscall string, err error) error {
71
71
return & SyscallError {syscall , err }
72
72
}
73
73
74
- // IsExist returns a boolean indicating whether the error is known to report
74
+ // IsExist returns a boolean indicating whether its argument is known to report
75
75
// that a file or directory already exists. It is satisfied by [ErrExist] as
76
76
// well as some syscall errors.
77
77
//
@@ -81,7 +81,7 @@ func IsExist(err error) bool {
81
81
return underlyingErrorIs (err , ErrExist )
82
82
}
83
83
84
- // IsNotExist returns a boolean indicating whether the error is known to
84
+ // IsNotExist returns a boolean indicating whether its argument is known to
85
85
// report that a file or directory does not exist. It is satisfied by
86
86
// [ErrNotExist] as well as some syscall errors.
87
87
//
@@ -91,7 +91,7 @@ func IsNotExist(err error) bool {
91
91
return underlyingErrorIs (err , ErrNotExist )
92
92
}
93
93
94
- // IsPermission returns a boolean indicating whether the error is known to
94
+ // IsPermission returns a boolean indicating whether its argument is known to
95
95
// report that permission is denied. It is satisfied by [ErrPermission] as well
96
96
// as some syscall errors.
97
97
//
@@ -101,7 +101,7 @@ func IsPermission(err error) bool {
101
101
return underlyingErrorIs (err , ErrPermission )
102
102
}
103
103
104
- // IsTimeout returns a boolean indicating whether the error is known
104
+ // IsTimeout returns a boolean indicating whether its argument is known
105
105
// to report that a timeout occurred.
106
106
//
107
107
// This function predates [errors.Is], and the notion of whether an
0 commit comments