IsNotExist is the equivalent of os.IsNotExist
(err error)
| 189 | |
| 190 | // IsNotExist is the equivalent of os.IsNotExist |
| 191 | func IsNotExist(err error) bool { |
| 192 | return errors.Is(err, ErrNotExist) |
| 193 | } |
| 194 | |
| 195 | // ErrNotExist is the equivalent of os.ErrNotExist |
| 196 | var ErrNotExist = fs.ErrNotExist |