2014-11-13 20:36:05 +00:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package system
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
"syscall"
|
|
|
|
)
|
|
|
|
|
2015-03-11 15:42:49 +00:00
|
|
|
func fromStatT(s *syscall.Win32FileAttributeData) (*Stat_t, error) {
|
2014-11-13 20:36:05 +00:00
|
|
|
return nil, errors.New("fromStatT should not be called on windows path")
|
|
|
|
}
|
2015-03-11 15:42:49 +00:00
|
|
|
|
|
|
|
func Stat(path string) (*Stat_t, error) {
|
|
|
|
// should not be called on cli code path
|
|
|
|
return nil, ErrNotSupportedPlatform
|
|
|
|
}
|