github.com/rentongzhang/docker@v1.8.2-rc1/pkg/system/stat_windows.go (about) 1 // +build windows 2 3 package system 4 5 import ( 6 "os" 7 "time" 8 ) 9 10 type Stat_t struct { 11 name string 12 size int64 13 mode os.FileMode 14 modTime time.Time 15 isDir bool 16 } 17 18 func (s Stat_t) Name() string { 19 return s.name 20 } 21 22 func (s Stat_t) Size() int64 { 23 return s.size 24 } 25 26 func (s Stat_t) Mode() os.FileMode { 27 return s.mode 28 } 29 30 func (s Stat_t) ModTime() time.Time { 31 return s.modTime 32 } 33 34 func (s Stat_t) IsDir() bool { 35 return s.isDir 36 }