diff --git a/src/restic/node_freebsd.go b/src/restic/node_freebsd.go index b588a2b68..a3f97096d 100644 --- a/src/restic/node_freebsd.go +++ b/src/restic/node_freebsd.go @@ -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 -} diff --git a/src/restic/node_xattr.go b/src/restic/node_xattr.go index 87038d24f..1b5f085d8 100644 --- a/src/restic/node_xattr.go +++ b/src/restic/node_xattr.go @@ -1,6 +1,5 @@ // +build !openbsd // +build !windows -// +build !freebsd package restic