mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-07 03:42:36 +02:00
By doing so it will fix issues met when mixing source/remote registry Close #808
19 lines
473 B
Go
19 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")
|
|
}
|