Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SethGammon/Citadel
/ pct
Function
pct
scripts/permission-audit.js:98–100 ·
view source on GitHub ↗
(n, total)
Source
from the content-addressed store, hash-verified
96
}
97
98
function
pct(n, total) {
99
return
total ? ((n / total) * 100).toFixed(1) +
'%'
:
'0.0%'
;
100
}
101
102
function
isDenial(e) {
103
return
e.decision ===
'deny'
|| e.decision ===
'denied'
;
Callers
1
buildReport
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected