go-mtree/keywords_unsupported.go

24 lines
520 B
Go
Raw Normal View History

// +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
}
xattrKeywordFunc = func(path string, info os.FileInfo) (string, error) {
return "", nil
}
)