mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
add comment
Signed-off-by: Matej Vasek <mvasek@redhat.com>
This commit is contained in:
@ -250,6 +250,8 @@ func statsToHeader(stats *copier.StatForItem) (string, error) {
|
|||||||
return buff.String(), nil
|
return buff.String(), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// the utility functions below are copied from abi/cp.go
|
||||||
|
|
||||||
func getUser(mountPoint string, userspec string) (specs.User, error) {
|
func getUser(mountPoint string, userspec string) (specs.User, error) {
|
||||||
uid, gid, _, err := chrootuser.GetUser(mountPoint, userspec)
|
uid, gid, _, err := chrootuser.GetUser(mountPoint, userspec)
|
||||||
u := specs.User{
|
u := specs.User{
|
||||||
|
Reference in New Issue
Block a user