Fix typos
This commit is contained in:
parent
a72b418319
commit
ac00229386
23 changed files with 56 additions and 56 deletions
|
@ -29,7 +29,7 @@ func TempFile(dir, prefix string) (f *os.File, err error) {
|
|||
return f, nil
|
||||
}
|
||||
|
||||
// isNotSuported returns true if the error is caused by an unsupported file system feature.
|
||||
// isNotSupported returns true if the error is caused by an unsupported file system feature.
|
||||
func isNotSupported(err error) bool {
|
||||
if perr, ok := err.(*os.PathError); ok && perr.Err == syscall.ENOTSUP {
|
||||
return true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue