mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-16 00:17:07 +08:00
vendor: update buildkit to master@31c870e82a48
Signed-off-by: Justin Chadwell <me@jedevc.com>
This commit is contained in:
14
vendor/github.com/in-toto/in-toto-golang/in_toto/util_unix.go
generated
vendored
Normal file
14
vendor/github.com/in-toto/in-toto-golang/in_toto/util_unix.go
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
//go:build linux || darwin || !windows
|
||||
// +build linux darwin !windows
|
||||
|
||||
package in_toto
|
||||
|
||||
import "golang.org/x/sys/unix"
|
||||
|
||||
func isWritable(path string) error {
|
||||
err := unix.Access(path, unix.W_OK)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
}
|
Reference in New Issue
Block a user