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

keywords: they deserve their own file

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2016-03-16 16:09:10 -04:00
parent 455edf6d21
commit b3198b462b
4 changed files with 139 additions and 134 deletions

20
keywords_unsupported.go Normal file
View file

@ -0,0 +1,20 @@
// +build !linux
package mtree
import "os"
var (
unameKeywordFunc = func(path string, info os.FileInfo) (string, error) {
return "", nil
}
uidKeywordFunc = func(path string, info os.FileInfo) (string, error) {
return "", nil
}
gidKeywordFunc = func(path string, info os.FileInfo) (string, error) {
return "", nil
}
nlinkKeywordFunc = func(path string, info os.FileInfo) (string, error) {
return "", nil
}
)