MCPcopy Create free account
hub / github.com/crashappsec/github-analyzer / getOauthAppState

Function getOauthAppState

pkg/output/html/html.go:77–88  ·  view source on GitHub ↗
(s int)

Source from the content-addressed store, hash-verified

75}
76
77func getOauthAppState(s int) string {
78 if s == 1 {
79 return "Requested"
80 }
81 if s == 2 {
82 return "Approved"
83 }
84 if s == 3 {
85 return "Denied"
86 }
87 return "Unknown"
88}
89
90func parseStats(statsJson string) (org.OrgStats, []InstallationInfo, error) {
91 var stats org.OrgStats

Callers 1

parseOauthAppsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected