21 lines
426 B
Go
21 lines
426 B
Go
|
// +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
|
||
|
}
|
||
|
)
|