mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
6ed1163c98
Files that are suffixed with `_linux.go` or `_windows.go` are already only built on Linux / Windows, so these build-tags were redundant. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
11 lines
277 B
Go
11 lines
277 B
Go
package system
|
|
|
|
// Mknod is not implemented on Windows.
|
|
func Mknod(path string, mode uint32, dev int) error {
|
|
return ErrNotSupportedPlatform
|
|
}
|
|
|
|
// Mkdev is not implemented on Windows.
|
|
func Mkdev(major int64, minor int64) uint32 {
|
|
panic("Mkdev not implemented on Windows.")
|
|
}
|