mirror of
https://github.com/restic/restic.git
synced 2025-01-03 13:45:20 +00:00
Add hint for osutil library
This commit is contained in:
parent
bb5bfe1ba0
commit
cbee80fc6d
1 changed files with 1 additions and 1 deletions
2
tree.go
2
tree.go
|
@ -81,7 +81,7 @@ func (node *Node) fill_extra(path string, fi os.FileInfo) (err error) {
|
||||||
node.User = u.Username
|
node.User = u.Username
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: implement getgrnam()
|
// TODO: implement getgrnam() or use https://github.com/kless/osutil
|
||||||
// if g, nil := user.LookupId(strconv.Itoa(int(stat.Uid))); err == nil {
|
// if g, nil := user.LookupId(strconv.Itoa(int(stat.Uid))); err == nil {
|
||||||
// node.User = u.Username
|
// node.User = u.Username
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Reference in a new issue