2017-05-15 17:13:34 -04:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package fsutil
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/pkg/errors"
|
2018-10-05 05:05:42 -04:00
|
|
|
"github.com/tonistiigi/fsutil/types"
|
2017-05-15 17:13:34 -04:00
|
|
|
)
|
|
|
|
|
2018-10-05 05:05:42 -04:00
|
|
|
func rewriteMetadata(p string, stat *types.Stat) error {
|
2017-05-15 17:13:34 -04:00
|
|
|
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
|
2018-10-05 05:05:42 -04:00
|
|
|
func handleTarTypeBlockCharFifo(path string, stat *types.Stat) error {
|
2017-05-15 17:13:34 -04:00
|
|
|
return errors.New("Not implemented on windows")
|
|
|
|
}
|