This commit is contained in:
Chris Lu
2019-11-27 03:09:42 -08:00
parent 67e5f5b558
commit 0f9ba84274
10 changed files with 571 additions and 176 deletions

View File

@@ -2,6 +2,7 @@ package backend
import (
"io"
"os"
"time"
)
@@ -12,6 +13,7 @@ type DataStorageBackend interface {
io.Closer
GetStat() (datSize int64, modTime time.Time, err error)
String() string
Instantiate(src *os.File) error
}
var (