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:
Michael Eischer 2024-08-27 14:35:40 +02:00
parent e79dca644e
commit 7bb92dc7bd
5 changed files with 20 additions and 7 deletions

View file

@ -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