mirror of
https://github.com/restic/restic.git
synced 2025-03-16 00:00:05 +01:00
changed invocation of nlink()
This commit is contained in:
parent
99a3e19661
commit
9a5312a5de
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ import (
|
|||
|
||||
"restic/repository"
|
||||
. "restic/test"
|
||||
"restic"
|
||||
)
|
||||
|
||||
type dirEntry struct {
|
||||
|
@ -38,7 +37,7 @@ func walkDir(dir string) <-chan *dirEntry {
|
|||
ch <- &dirEntry{
|
||||
path: name,
|
||||
fi: info,
|
||||
link: nlink(),
|
||||
link: nlink(info),
|
||||
}
|
||||
|
||||
return nil
|
||||
|
|
Loading…
Add table
Reference in a new issue