2015-05-05 18:13:55 +00:00
|
|
|
package restic
|
|
|
|
|
2016-03-28 13:26:04 +00:00
|
|
|
import "syscall"
|
2015-05-05 18:13:55 +00:00
|
|
|
|
2015-05-14 21:06:11 +00:00
|
|
|
func (node Node) restoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
|
|
|
return nil
|
|
|
|
}
|
2015-08-14 13:57:47 +00:00
|
|
|
|
|
|
|
func (s statUnix) atim() syscall.Timespec { return s.Atim }
|
|
|
|
func (s statUnix) mtim() syscall.Timespec { return s.Mtim }
|
|
|
|
func (s statUnix) ctim() syscall.Timespec { return s.Ctim }
|
2017-02-02 11:23:13 +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
|
|
|
|
}
|