mirror of
https://github.com/restic/restic.git
synced 2026-10-20 08:08:11 +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:
1 parent
e79dca644e
commit
7bb92dc7bd
5 files changed
+20
-7
No files matched your search
@@ -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