Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ getPerm
Function
getPerm
internal/zip/zip.go:62–67 ·
view source on GitHub ↗
(m os.FileMode)
Source
from the content-addressed store, hash-verified
60
}
61
62
func
getPerm(m os.FileMode) os.FileMode {
63
if
m&0111 == 0 {
64
return
fileMode
65
}
66
return
execMode
67
}
Callers
1
extractZipFile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected