1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-22 15:57:07 +00:00
restic/internal/fs/node_freebsd.go

22 lines
364 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
2024-10-03 19:17:22 +00:00
import (
"os"
"syscall"
)
func nodeRestoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
return nil
}
2024-10-03 19:17:22 +00:00
func mknod(path string, mode uint32, dev uint64) error {
err := syscall.Mknod(path, mode, dev)
if err != nil {
err = &os.PathError{Op: "mknod", Path: path, Err: err}
}
return err
2019-03-06 14:41:49 +00:00
}