mirror of
https://github.com/restic/restic.git
synced 2025-12-14 13:32:05 +00:00
fs: inline ExtendedStat
This commit is contained in:
@@ -132,7 +132,7 @@ type vssDeleteOriginalFS struct {
|
||||
hasRemoved bool
|
||||
}
|
||||
|
||||
func (f *vssDeleteOriginalFS) Lstat(name string) (os.FileInfo, error) {
|
||||
func (f *vssDeleteOriginalFS) Lstat(name string) (*fs.ExtendedFileInfo, error) {
|
||||
if !f.hasRemoved {
|
||||
// call Lstat to trigger snapshot creation
|
||||
_, _ = f.FS.Lstat(name)
|
||||
|
||||
Reference in New Issue
Block a user