Update vendor

This commit is contained in:
Ettore Di Giacinto
2021-10-29 16:02:15 +02:00
parent eac621aaf7
commit 0f7ba8ce05
65 changed files with 4618 additions and 3392 deletions

18
vendor/github.com/vbatts/go-mtree/stat_unix.go generated vendored Normal file
View File

@@ -0,0 +1,18 @@
// +build !windows
package mtree
import (
"os"
"syscall"
)
func statIsUID(stat os.FileInfo, uid int) bool {
statT := stat.Sys().(*syscall.Stat_t)
return statT.Uid == uint32(uid)
}
func statIsGID(stat os.FileInfo, gid int) bool {
statT := stat.Sys().(*syscall.Stat_t)
return statT.Gid == uint32(gid)
}