mirror of
https://github.com/vbatts/go-mtree.git
synced 2024-11-15 13:18:45 +00:00
Vincent Batts
e45837faea
BSD file's support "flags". These have some similarity with xattr, but for specific features, rather than general purpose key/values. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
15 lines
296 B
Go
15 lines
296 B
Go
// +build darwin freebsd netbsd openbsd
|
|
|
|
package mtree
|
|
|
|
import (
|
|
"io"
|
|
"os"
|
|
)
|
|
|
|
var (
|
|
flagsKeywordFunc = func(path string, info os.FileInfo, r io.Reader) (string, error) {
|
|
// ideally this will pull in from here https://www.freebsd.org/cgi/man.cgi?query=chflags&sektion=2
|
|
return "", nil
|
|
}
|
|
)
|