github.com/mckael/restic@v0.8.3/internal/restic/node_openbsd.go (about)

     1  package restic
     2  
     3  import "syscall"
     4  
     5  func (node Node) restoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
     6  	return nil
     7  }
     8  
     9  func (s statUnix) atim() syscall.Timespec { return s.Atim }
    10  func (s statUnix) mtim() syscall.Timespec { return s.Mtim }
    11  func (s statUnix) ctim() syscall.Timespec { return s.Ctim }
    12  
    13  // Getxattr retrieves extended attribute data associated with path.
    14  func Getxattr(path, name string) ([]byte, error) {
    15  	return nil, nil
    16  }
    17  
    18  // Listxattr retrieves a list of names of extended attributes associated with the
    19  // given path in the file system.
    20  func Listxattr(path string) ([]string, error) {
    21  	return nil, nil
    22  }
    23  
    24  // Setxattr associates name and data together as an attribute of path.
    25  func Setxattr(path, name string, data []byte) error {
    26  	return nil
    27  }