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
|
|
|
|
2024-08-26 21:03:25 +00:00
|
|
|
package fs
|
2015-05-05 23:06:36 +00:00
|
|
|
|
2016-03-28 13:26:04 +00:00
|
|
|
import "syscall"
|
2015-05-05 23:06:36 +00:00
|
|
|
|
2024-08-26 20:35:22 +00:00
|
|
|
func nodeRestoreSymlinkTimestamps(path string, utimes [2]syscall.Timespec) error {
|
2015-05-14 21:06:11 +00:00
|
|
|
return nil
|
|
|
|
}
|
2015-08-14 13:57:47 +00:00
|
|
|
|
2021-05-27 19:29:51 +00:00
|
|
|
func mknod(path string, mode uint32, dev uint64) (err error) {
|
|
|
|
return syscall.Mknod(path, mode, dev)
|
2019-03-06 14:41:49 +00:00
|
|
|
}
|
|
|
|
|
2020-10-18 21:39:42 +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 }
|