2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-30 08:44:02 +00:00
restic/internal/fs/mknod_unix.go
2024-08-31 17:37:25 +02:00

11 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))
}