mirror of
https://github.com/restic/restic.git
synced 2025-04-27 22:00:50 +00:00

This way, they can be inlined and dead code can be removed on Windows. Also fixed some comments.
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))
|
|
}
|