mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-15 07:57:07 +08:00
vendor: update buildkit to master@c36941f4a10e
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
7
vendor/github.com/tonistiigi/fsutil/diskwriter_unix.go
generated
vendored
7
vendor/github.com/tonistiigi/fsutil/diskwriter_unix.go
generated
vendored
@ -51,3 +51,10 @@ func handleTarTypeBlockCharFifo(path string, stat *types.Stat) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func renameFile(src, dst string) error {
|
||||
if err := os.Rename(src, dst); err != nil {
|
||||
return errors.Wrapf(err, "failed to rename %s to %s", src, dst)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user