MCPcopy Index your code
hub / github.com/bitfield/script / ExamplePipe_EncodeBase64

Function ExamplePipe_EncodeBase64

script_test.go:2338–2342  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2336}
2337
2338func ExamplePipe_EncodeBase64() {
2339 script.Echo("Hello, world!").EncodeBase64().Stdout()
2340 // Output:
2341 // SGVsbG8sIHdvcmxkIQ==
2342}
2343
2344func ExamplePipe_ExitStatus() {
2345 p := script.Exec("echo")

Callers

nothing calls this directly

Calls 3

EchoFunction · 0.92
StdoutMethod · 0.80
EncodeBase64Method · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…