MCPcopy Index your code
hub / github.com/github/github-mcp-server / LabelGist

Function LabelGist

pkg/ifc/ifc.go:290–292  ·  view source on GitHub ↗

LabelGist returns the IFC label for gist content. Integrity is untrusted: gist contents are arbitrary user-authored text. Confidentiality is public because secret gists are URL-accessible and cannot be modeled as private to a GitHub reader set.

()

Source from the content-addressed store, hash-verified

288// Confidentiality is public because secret gists are URL-accessible and cannot
289// be modeled as private to a GitHub reader set.
290func LabelGist() SecurityLabel {
291 return PublicUntrusted()
292}
293
294// LabelGistList returns the IFC label for a list of gists belonging to a user,
295// joining the per-gist confidentiality across the result set.

Callers 2

GetGistFunction · 0.92
TestLabelGistFunction · 0.85

Calls 1

PublicUntrustedFunction · 0.85

Tested by 1

TestLabelGistFunction · 0.68