mirror of https://github.com/restic/restic.git
Add hint for osutil library
This commit is contained in:
parent
bb5bfe1ba0
commit
cbee80fc6d
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
|
||||
}
|
||||
|
||||
// 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 {
|
||||
// node.User = u.Username
|
||||
// }
|
||||
|
|
Loading…
Reference in New Issue