mirror of
https://github.com/octoleo/restic.git
synced 2024-11-26 14:56:29 +00:00
archiver: remove dead attribute from FutureNode
This commit is contained in:
parent
049f4c4144
commit
79321a195c
@ -295,7 +295,6 @@ type FutureNode struct {
|
|||||||
snPath, target string
|
snPath, target string
|
||||||
|
|
||||||
// kept to call the error callback function
|
// kept to call the error callback function
|
||||||
absTarget string
|
|
||||||
fi os.FileInfo
|
fi os.FileInfo
|
||||||
|
|
||||||
node *restic.Node
|
node *restic.Node
|
||||||
@ -366,8 +365,6 @@ func (arch *Archiver) Save(ctx context.Context, snPath, target string, previous
|
|||||||
return FutureNode{}, false, err
|
return FutureNode{}, false, err
|
||||||
}
|
}
|
||||||
|
|
||||||
fn.absTarget = abstarget
|
|
||||||
|
|
||||||
// exclude files by path before running Lstat to reduce number of lstat calls
|
// exclude files by path before running Lstat to reduce number of lstat calls
|
||||||
if !arch.SelectByName(abstarget) {
|
if !arch.SelectByName(abstarget) {
|
||||||
debug.Log("%v is excluded by path", target)
|
debug.Log("%v is excluded by path", target)
|
||||||
|
Loading…
Reference in New Issue
Block a user