From a7de24661c55a026dd208c8a62c50d6682d39859 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 14 Mar 2026 17:06:34 -0400 Subject: authfs: implement Rwalk, Rcreate --- back/cmd/authfs/err.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'back/cmd/authfs/err.go') 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") ) -- cgit v1.2.3