1
0
Fork 0
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:
jgfrm 2017-02-06 18:25:28 +01:00
parent 99a3e19661
commit 9a5312a5de

View file

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