diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-03-14 17:06:34 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-03-14 17:06:34 -0400 |
| commit | a7de24661c55a026dd208c8a62c50d6682d39859 (patch) | |
| tree | 25b9abd8952f7f00db80cf4ac5271913773a8e81 /back/cmd/authfs/err.go | |
| parent | b57a199eb44dff5af3bdb7866b818544e1d270ee (diff) | |
| download | buth-a7de24661c55a026dd208c8a62c50d6682d39859.zip | |
authfs: implement Rwalk, Rcreate
Diffstat (limited to 'back/cmd/authfs/err.go')
| -rw-r--r-- | back/cmd/authfs/err.go | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/back/cmd/authfs/err.go b/back/cmd/authfs/err.go index 4f4dbbf..7c2b192 100644 --- a/back/cmd/authfs/err.go +++ b/back/cmd/authfs/err.go @@ -3,9 +3,12 @@ package main import "errors" var ( - ErrFileExist = errors.New("file already exists") - ErrFileNotExist = errors.New("file does not exist") + ErrCreateNonDir = errors.New("cannot create in non-directory") ErrFidExist = errors.New("fid already exists") ErrFidNotExist = errors.New("fid does not exist") + ErrFileExist = errors.New("file already exists") + ErrFileNotExist = errors.New("file does not exist") + ErrNewFidExist = errors.New("newfid already exists") ErrPerm = errors.New("permission denied") + ErrWalkNonDir = errors.New("cannot walk in non-directory") ) |