add IsDir for local filesystem
This commit is contained in:
parent
ddc9ab18f2
commit
776ec2fd78
1 changed files with 1 additions and 0 deletions
|
@ -241,6 +241,7 @@ func (s *Storage) Stat(name string) (*FileInfo, error) {
|
|||
fileInfo.Size = fInfo.Size()
|
||||
fileInfo.ModTime = fInfo.ModTime()
|
||||
fileInfo.Mode = fInfo.Mode()
|
||||
fileInfo.IsDir = fInfo.IsDir()
|
||||
}
|
||||
|
||||
return fileInfo, nil
|
||||
|
|
Loading…
Reference in a new issue