mirror of
https://github.com/octoleo/restic.git
synced 2025-01-02 14:42:01 +00:00
0666c4d244
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))
|
|
}
|