mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 12:55:18 +00:00
19 lines
469 B
Go
19 lines
469 B
Go
//go:build freebsd
|
|
// +build freebsd
|
|
|
|
package restic
|
|
|
|
import "syscall"
|
|
|
|
func (node Node) restoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
|
return nil
|
|
}
|
|
|
|
func mknod(path string, mode uint32, dev uint64) (err error) {
|
|
return syscall.Mknod(path, mode, dev)
|
|
}
|
|
|
|
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 }
|