fix(fs): fix issues related to closing fd
This commit is contained in:
parent
70dda37c54
commit
5e8567d470
8 changed files with 120 additions and 105 deletions
|
@ -22,8 +22,8 @@ type ISimpleFS interface {
|
|||
Stat(path string) (os.FileInfo, error)
|
||||
Close() error
|
||||
Sync() error
|
||||
GetFileReader(path string) (ReadCloseSeeker, error)
|
||||
CloseReader(path string) error
|
||||
GetFileReader(path string) (ReadCloseSeeker, uint64, error)
|
||||
CloseReader(id string) error
|
||||
Root() string
|
||||
ListDir(path string) ([]os.FileInfo, error)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue