2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 21:27:34 +00:00
restic/internal/fs/node_freebsd.go

19 lines
457 B
Go
Raw Normal View History

2022-03-28 20:23:47 +00:00
//go:build freebsd
2020-07-22 21:35:10 +00:00
// +build freebsd
2019-03-16 19:52:37 +00:00
package fs
import "syscall"
func nodeRestoreSymlinkTimestamps(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)
2019-03-06 14:41:49 +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 }