2
2
mirror of https://github.com/octoleo/restic.git synced 2024-12-19 01:09:42 +00:00
restic/internal/restic/mknod_unix.go

11 lines
215 B
Go
Raw Normal View History

2022-03-28 20:23:47 +00:00
//go:build !freebsd && !windows
// +build !freebsd,!windows
package restic
import "golang.org/x/sys/unix"
func mknod(path string, mode uint32, dev uint64) (err error) {
return unix.Mknod(path, mode, int(dev))
}