mirror of
https://github.com/containers/podman.git
synced 2025-09-28 01:04:28 +08:00
short-name aliasing
Add support for short-name aliasing. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
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,7 +1,6 @@
|
||||
package util
|
||||
|
||||
import (
|
||||
"os"
|
||||
"syscall"
|
||||
|
||||
"golang.org/x/sys/unix"
|
||||
@ -19,11 +18,3 @@ 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