podman-build/vendor/github.com/moby/sys/user/idtools_windows.go
2025-10-11 12:30:35 +09:00

14 lines
358 B
Go

package user
import (
"os"
)
// This is currently a wrapper around [os.MkdirAll] since currently
// permissions aren't set through this path, the identity isn't utilized.
// Ownership is handled elsewhere, but in the future could be support here
// too.
func mkdirAs(path string, _ os.FileMode, _, _ int, _, _ bool) error {
return os.MkdirAll(path, 0)
}