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

Function LabelProjectContent

pkg/ifc/ifc.go:352–357  ·  view source on GitHub ↗

LabelProjectContent returns the IFC label for project results that can include item content, field values, or status update bodies. These can aggregate content from a variety of sources, so integrity remains untrusted even when the project is private.

(isPrivate bool)

Source from the content-addressed store, hash-verified

350// content from a variety of sources, so integrity remains untrusted even when
351// the project is private.
352func LabelProjectContent(isPrivate bool) SecurityLabel {
353 if isPrivate {
354 return PrivateUntrusted()
355 }
356 return PublicUntrusted()
357}
358
359// LabelTeam returns the IFC label for organization team membership data
360// (get_teams, get_team_members).

Callers 3

ProjectsListFunction · 0.92
ProjectsGetFunction · 0.92
TestLabelProjectContentFunction · 0.85

Calls 2

PrivateUntrustedFunction · 0.85
PublicUntrustedFunction · 0.85

Tested by 1

TestLabelProjectContentFunction · 0.68