Commit 63dbfdf
committed
Don't translate StatusPacket to os.Err(NotExist|Permission)
Doing this loses potentially useful information for the client. They
should instead check with errors.Is(err, fs.ErrNotExist), etc.; the
StatusPacket type has an Is method for this already.1 parent e55eb41 commit 63dbfdf
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | 493 | | |
498 | 494 | | |
499 | 495 | | |
| |||
0 commit comments