Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/spicetify/cli
/ Check
Function
Check
src/utils/isAdmin/unix.go:8–13 ·
view source on GitHub ↗
(bypassAdminCheck bool)
Source
from the content-addressed store, hash-verified
6
import
"os"
7
8
func
Check(bypassAdminCheck bool) bool {
9
if
bypassAdminCheck {
10
return
false
11
}
12
return
os.Geteuid() == 0
13
}
Callers
1
init
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected