mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
837b9c6214
Signed-off-by: Akihiro Suda <suda.akihiro@lab.ntt.co.jp>
18 lines
473 B
Go
18 lines
473 B
Go
// +build windows
|
|
|
|
package fsutil
|
|
|
|
import (
|
|
"github.com/pkg/errors"
|
|
"github.com/tonistiigi/fsutil/types"
|
|
)
|
|
|
|
func rewriteMetadata(p string, stat *types.Stat) error {
|
|
return chtimes(p, stat.ModTime)
|
|
}
|
|
|
|
// handleTarTypeBlockCharFifo is an OS-specific helper function used by
|
|
// createTarFile to handle the following types of header: Block; Char; Fifo
|
|
func handleTarTypeBlockCharFifo(path string, stat *types.Stat) error {
|
|
return errors.New("Not implemented on windows")
|
|
}
|