mirror of
https://github.com/docker/cli.git
synced 2026-01-26 15:41:42 +03:00
Save was failing file integrity checksums due to bugs in both Windows and Docker. This commit includes fixes to file time handling in tarexport and system.chtimes that are necessary along with the Windows platform fixes to correctly support save. With this change, sysfile_backups for windowsfilter driver are no longer needed, so that code is removed. Signed-off-by: Stefan J. Wernli <swernli@microsoft.com> Upstream-commit: 041a9510c671ecf4724bf15388fdb9de549b04ed Component: engine
15 lines
282 B
Go
15 lines
282 B
Go
// +build !windows
|
|
|
|
package system
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
//setCTime will set the create time on a file. On Unix, the create
|
|
//time is updated as a side effect of setting the modified time, so
|
|
//no action is required.
|
|
func setCTime(path string, ctime time.Time) error {
|
|
return nil
|
|
}
|