mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
archiver: use ExtendedStat from FS interface
With this change, NodeFromFileInfo is the last function that bypasses the FS interface in the archiver.
This commit is contained in:
@@ -11,6 +11,7 @@ type FS interface {
|
||||
Stat(name string) (os.FileInfo, error)
|
||||
Lstat(name string) (os.FileInfo, error)
|
||||
DeviceID(fi os.FileInfo) (deviceID uint64, err error)
|
||||
ExtendedStat(fi os.FileInfo) ExtendedFileInfo
|
||||
|
||||
Join(elem ...string) string
|
||||
Separator() string
|
||||
|
||||
Reference in New Issue
Block a user