admin/sync: add stat method to importer

This commit is contained in:
nemunaire 2018-01-07 22:21:13 +01:00
commit db9077a85c
3 changed files with 10 additions and 0 deletions

View file

@ -23,6 +23,7 @@ type Importer interface {
importFile(URI string, next func(string, string) (interface{}, error)) (interface{}, error)
getFile(filename string, writer *bufio.Writer) error
listDir(filename string) ([]string, error)
stat(filename string) (os.FileInfo, error)
}
var GlobalImporter Importer