mirror of
https://github.com/octoleo/restic.git
synced 2024-05-30 15:40:50 +00:00
10 lines
183 B
Go
10 lines
183 B
Go
|
// +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))
|
||
|
}
|