Add support for extended attributes on FreeBSD

This commit is contained in:
Alexander Neumann 2017-02-18 11:40:50 +01:00
parent eb9be4e884
commit 6df2f9e5ba
2 changed files with 0 additions and 17 deletions

View File

@ -9,19 +9,3 @@ func (node Node) restoreSymlinkTimestamps(path string, utimes [2]syscall.Timespe
func (s statUnix) atim() syscall.Timespec { return s.Atimespec }
func (s statUnix) mtim() syscall.Timespec { return s.Mtimespec }
func (s statUnix) ctim() syscall.Timespec { return s.Ctimespec }
// Getxattr retrieves extended attribute data associated with path.
func Getxattr(path, name string) ([]byte, error) {
return nil, nil
}
// Listxattr retrieves a list of names of extended attributes associated with the
// given path in the file system.
func Listxattr(path string) ([]string, error) {
return nil, nil
}
// Setxattr associates name and data together as an attribute of path.
func Setxattr(path, name string, data []byte) error {
return nil
}

View File

@ -1,6 +1,5 @@
// +build !openbsd
// +build !windows
// +build !freebsd
package restic