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 6

viewRunFunction · 0.92
TestUntrusted_EmptyFunction · 0.85

Calls

no outgoing calls