mirror of
https://github.com/containers/podman.git
synced 2025-09-27 16:54:42 +08:00
Bump github.com/containers/common from 0.4.2 to 0.5.0
Bumps [github.com/containers/common](https://github.com/containers/common) from 0.4.2 to 0.5.0. - [Release notes](https://github.com/containers/common/releases) - [Commits](https://github.com/containers/common/compare/v0.4.2...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
![27856297+dependabot-preview[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
Daniel J Walsh

parent
c9f148fb15
commit
a95e9e5b4a
9
vendor/github.com/containers/buildah/util/util_linux.go
generated
vendored
9
vendor/github.com/containers/buildah/util/util_linux.go
generated
vendored
@ -1,6 +1,7 @@
|
||||
package util
|
||||
|
||||
import (
|
||||
"os"
|
||||
"syscall"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
@ -18,3 +19,11 @@ func IsCgroup2UnifiedMode() (bool, error) {
|
||||
})
|
||||
return isUnified, isUnifiedErr
|
||||
}
|
||||
|
||||
func UID(st os.FileInfo) int {
|
||||
return int(st.Sys().(*syscall.Stat_t).Uid)
|
||||
}
|
||||
|
||||
func GID(st os.FileInfo) int {
|
||||
return int(st.Sys().(*syscall.Stat_t).Gid)
|
||||
}
|
||||
|
Reference in New Issue
Block a user