package volume
import "io"
//文件基本读写 存在与否 关闭
type Index interface {
Has(fid uint64) bool
Get(fid uint64) (*FileInfo, error)
Set(fi *FileInfo) error
Delete(fid uint64) error
io.Closer
}