Added some more comments
This commit is contained in:
parent
4d94af74f8
commit
7060001262
|
@ -38,12 +38,14 @@ type AllocDir struct {
|
|||
mounted []string
|
||||
}
|
||||
|
||||
// AllocFileInfo holds information about a file inside the AllocDir
|
||||
type AllocFileInfo struct {
|
||||
Name string
|
||||
IsDir bool
|
||||
Size int64
|
||||
}
|
||||
|
||||
// AllocDirFS returns methods which exposes file operations on the alloc dir
|
||||
type AllocDirFS interface {
|
||||
List(path string) ([]*AllocFileInfo, error)
|
||||
Stat(path string) (*AllocFileInfo, error)
|
||||
|
|
Loading…
Reference in New Issue