admin/sync: add stat method to importer
This commit is contained in:
parent
57758cd018
commit
db9077a85c
3 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue