mirror of
https://github.com/octoleo/restic.git
synced 2024-11-23 13:17:42 +00:00
22 lines
364 B
Go
22 lines
364 B
Go
//go:build freebsd
|
|
// +build freebsd
|
|
|
|
package fs
|
|
|
|
import (
|
|
"os"
|
|
"syscall"
|
|
)
|
|
|
|
func nodeRestoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
|
return nil
|
|
}
|
|
|
|
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
|
|
}
|