mirror of
https://github.com/restic/restic.git
synced 2024-12-23 00:07:25 +00:00
10 lines
211 B
Go
10 lines
211 B
Go
//go:build !freebsd && !windows
|
|
// +build !freebsd,!windows
|
|
|
|
package fs
|
|
|
|
import "golang.org/x/sys/unix"
|
|
|
|
func mknod(path string, mode uint32, dev uint64) (err error) {
|
|
return unix.Mknod(path, mode, int(dev))
|
|
}
|