mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-24 04:08:04 +08:00
vendor: github.com/moby/buildkit v0.21.0-rc1
Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
This commit is contained in:
6
vendor/github.com/tonistiigi/fsutil/copy/copy_windows.go
generated
vendored
6
vendor/github.com/tonistiigi/fsutil/copy/copy_windows.go
generated
vendored
@@ -13,7 +13,7 @@ const (
|
||||
seTakeOwnershipPrivilege = "SeTakeOwnershipPrivilege"
|
||||
)
|
||||
|
||||
func getUIDGID(fi os.FileInfo) (uid, gid int) {
|
||||
func getUIDGID(_ os.FileInfo) (uid, gid int) {
|
||||
return 0, 0
|
||||
}
|
||||
|
||||
@@ -119,10 +119,10 @@ func copyFileContent(dst, src *os.File) error {
|
||||
return err
|
||||
}
|
||||
|
||||
func copyXAttrs(dst, src string, xeh XAttrErrorHandler) error {
|
||||
func copyXAttrs(_, _ string, _ XAttrErrorHandler) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func copyDevice(dst string, fi os.FileInfo) error {
|
||||
func copyDevice(_ string, _ os.FileInfo) error {
|
||||
return errors.New("device copy not supported")
|
||||
}
|
||||
|
Reference in New Issue
Block a user