pkg/system/lstat_windows.go
Ahmet Alp Balkan 515e7481de Extract mknod, umask, lstat to pkg/system
Some parts of pkg/archive is called on both client/daemon code. To get
it compiling on Windows, these funcs are extracted into files with
build tags.

Signed-off-by: Ahmet Alp Balkan <ahmetb@microsoft.com>
2014-11-14 18:20:54 -08:00

12 lines
206 B
Go

// +build windows
package system
import (
"syscall"
)
func Lstat(path string) (*syscall.Win32FileAttributeData, error) {
// should not be called on cli code path
return nil, ErrNotSupportedPlatform
}