diff options
Diffstat (limited to 'file.go')
| -rw-r--r-- | file.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -72,7 +72,7 @@ func (f *File) Name() string { func (f *File) readdir(count int, onlyDir bool) ([]os.FileInfo, error) { if !isDirPath(f.key) { - return nil, ErrUnsupported + return nil, ErrNotDirectory } if count == 0 { return []os.FileInfo{}, nil |
