2018-06-16 06:48:45 +00:00
|
|
|
package restic
|
|
|
|
|
|
|
|
import "syscall"
|
|
|
|
|
|
|
|
func (node Node) restoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2020-10-18 21:39:42 +00:00
|
|
|
func (s statT) atim() syscall.Timespec { return s.Atimespec }
|
|
|
|
func (s statT) mtim() syscall.Timespec { return s.Mtimespec }
|
|
|
|
func (s statT) ctim() syscall.Timespec { return s.Ctimespec }
|
2018-06-16 06:48:45 +00:00
|
|
|
|
|
|
|
// 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
|
|
|
|
}
|