aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/system/stat_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/system/stat_windows.go')
-rw-r--r--vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/system/stat_windows.go43
1 files changed, 0 insertions, 43 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/system/stat_windows.go b/vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/system/stat_windows.go
deleted file mode 100644
index 39490c6..0000000
--- a/vendor/github.com/fsouza/go-dockerclient/external/github.com/docker/docker/pkg/system/stat_windows.go
+++ /dev/null
@@ -1,43 +0,0 @@
1// +build windows
2
3package system
4
5import (
6 "os"
7 "time"
8)
9
10// StatT type contains status of a file. It contains metadata
11// like name, permission, size, etc about a file.
12type StatT struct {
13 name string
14 size int64
15 mode os.FileMode
16 modTime time.Time
17 isDir bool
18}
19
20// Name returns file's name.
21func (s StatT) Name() string {
22 return s.name
23}
24
25// Size returns file's size.
26func (s StatT) Size() int64 {
27 return s.size
28}
29
30// Mode returns file's permission mode.
31func (s StatT) Mode() os.FileMode {
32 return s.mode
33}
34
35// ModTime returns file's last modification time.
36func (s StatT) ModTime() time.Time {
37 return s.modTime
38}
39
40// IsDir returns whether file is actually a directory.
41func (s StatT) IsDir() bool {
42 return s.isDir
43}