1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-01 13:38:28 +00:00

Merge pull request #129 from vbatts/fix_gname

keyword: add missing `gname` keyword functions
This commit is contained in:
Vincent Batts 2017-06-15 12:42:29 -05:00 committed by GitHub
commit abdee6fe11
6 changed files with 142 additions and 0 deletions

View file

@ -34,6 +34,7 @@ var (
"gid": gidKeywordFunc, // The file group as a numeric value
"nlink": nlinkKeywordFunc, // The number of hard links the file is expected to have
"uname": unameKeywordFunc, // The file owner as a symbolic name
"gname": gnameKeywordFunc, // The file group as a symbolic name
"mode": modeKeywordFunc, // The current file's permissions as a numeric (octal) or symbolic value
"cksum": cksumKeywordFunc, // The checksum of the file using the default algorithm specified by the cksum(1) utility
"md5": hasherKeywordFunc("md5digest", md5.New), // The MD5 message digest of the file