mirror of
https://github.com/octoleo/restic.git
synced 2024-11-02 11:46:36 +00:00
28 lines
783 B
Go
28 lines
783 B
Go
package restic
|
|
|
|
import "syscall"
|
|
|
|
func (node Node) restoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
|
return nil
|
|
}
|
|
|
|
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 }
|
|
|
|
// 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
|
|
}
|