diff options
| author | Marin Ivanov <[email protected]> | 2022-08-15 03:33:22 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2022-08-15 03:33:22 +0300 |
| commit | 04200620823cf9b11e0185234429af6180110adc (patch) | |
| tree | 6a63c0cabec90c3562c939d38c8e51e99dd48e0d /file.go | |
| parent | 2f1bb584258c53d74f97b04a6045f0e0b838f061 (diff) | |
Test Remove, RemoveAll, Rename
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 |
