debug: add an mtree.Debugf and -debug flag

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2016-07-20 13:28:08 -04:00
parent 39f68f5be2
commit ed6b293839
4 changed files with 26 additions and 3 deletions

View file

@ -185,7 +185,8 @@ var (
// The pattern for this keyword key is prefixed by "xattr." followed by the extended attribute "namespace.key".
// The keyword value is the SHA1 digest of the extended attribute's value.
// In this way, the order of the keys does not matter, and the contents of the value is not revealed.
"xattr": xattrKeywordFunc,
"xattr": xattrKeywordFunc,
"xattrs": xattrKeywordFunc,
}
)