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