Added some more comments

This commit is contained in:
Diptanu Choudhury 2016-01-14 13:47:46 -08:00
parent 4d94af74f8
commit 7060001262
1 changed files with 2 additions and 0 deletions

View File

@ -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)