summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2022-10-05 16:21:04 +0200
committerSebastiaan van Stijn <github@gone.nl>2022-11-05 18:30:44 +0100
commite0b105623e2c02edbc176d902eedf39f78f05fda (patch)
treef6707a2f7cb8fba12a29886bf10f64c088bad889
parent9d86e1d204eaf0419e85cc68c31daa2cbdc807f2 (diff)
downloaddocker-e0b105623e2c02edbc176d902eedf39f78f05fda.tar.gz
pkg/system: unconvert
Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (cherry picked from commit ab677c41ea215cbb2f81c15a6d8a7ba505aff05a) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
-rw-r--r--pkg/system/stat_windows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/system/stat_windows.go b/pkg/system/stat_windows.go
index b2456cb887..0ff3af2fa1 100644
--- a/pkg/system/stat_windows.go
+++ b/pkg/system/stat_windows.go
@@ -20,12 +20,12 @@ func (s StatT) Size() int64 {
// Mode returns file's permission mode.
func (s StatT) Mode() os.FileMode {
- return os.FileMode(s.mode)
+ return s.mode
}
// Mtim returns file's last modification time.
func (s StatT) Mtim() time.Time {
- return time.Time(s.mtim)
+ return s.mtim
}
// Stat takes a path to a file and returns