mirror of
https://github.com/restic/restic.git
synced 2025-12-26 20:57:04 +00:00
Add hint for osutil library
This commit is contained in:
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
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user