Add comment

This commit is contained in:
Alexander Neumann 2014-12-25 14:13:34 +01:00
parent 81dddfccc1
commit 1d8e76a245

View file

@ -161,6 +161,7 @@ func (node *Node) fill_extra(path string, fi os.FileInfo) (err error) {
node.UID = stat.Uid
node.GID = stat.Gid
// TODO: cache uid lookup
if u, nil := user.LookupId(strconv.Itoa(int(stat.Uid))); err == nil {
node.User = u.Username
}