mirror of
https://github.com/containers/skopeo.git
synced 2025-08-25 17:49:06 +00:00
12 lines
157 B
Go
12 lines
157 B
Go
//go:build windows
|
|
|
|
package winapi
|
|
|
|
import (
|
|
"golang.org/x/sys/windows"
|
|
)
|
|
|
|
func IsElevated() bool {
|
|
return windows.GetCurrentProcessToken().IsElevated()
|
|
}
|