add var UnsupportedListDirectoryPrefixedErr

This commit is contained in:
Konstantin Lebedev
2020-08-31 21:43:32 +05:00
parent 60a86cfe04
commit 7f013d77d6
9 changed files with 13 additions and 19 deletions

View File

@@ -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 {