MCPcopy Create free account
hub / github.com/cli/cli / NewUntrusted

Function NewUntrusted

pkg/iostreams/untrusted.go:26–28  ·  view source on GitHub ↗

NewUntrusted labels a string as untrusted external content.

(s string)

Source from the content-addressed store, hash-verified

24
25// NewUntrusted labels a string as untrusted external content.
26func NewUntrusted(s string) Untrusted {
27 return Untrusted{raw: s}
28}
29
30// NewUntrustedBytes labels a byte slice as untrusted external content.
31func NewUntrustedBytes(b []byte) Untrusted {

Callers 13

viewRunFunction · 0.92
renderTableFunction · 0.92
promptInstallFunction · 0.92
listAvailableSkillsFunction · 0.92
skillSearchFuncFunction · 0.92
printTreeDirFunction · 0.92
checkUpstreamProvenanceFunction · 0.92
ListPortsMethod · 0.92

Calls

no outgoing calls