diff options
Diffstat (limited to 'weed/filer2/filer.go')
| -rw-r--r-- | weed/filer2/filer.go | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/weed/filer2/filer.go b/weed/filer2/filer.go index ef81cae2b..a94052996 100644 --- a/weed/filer2/filer.go +++ b/weed/filer2/filer.go @@ -2,6 +2,7 @@ package filer2 import ( "context" + "errors" "fmt" "os" "strings" @@ -19,13 +20,13 @@ import ( ) const ( - PaginationSize = 1024 * 256 - UnsupportedListDirectoryPrefixedErr = "UNSUPPORTED" + PaginationSize = 1024 * 256 ) var ( - OS_UID = uint32(os.Getuid()) - OS_GID = uint32(os.Getgid()) + OS_UID = uint32(os.Getuid()) + OS_GID = uint32(os.Getgid()) + UnsupportedListDirectoryPrefixedErr = errors.New("UNSUPPORTED") ) type Filer struct { |
