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

Function ExamplePipe_SHA256Sums

script_test.go:2559–2563  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2557}
2558
2559func ExamplePipe_SHA256Sums() {
2560 script.Echo("testdata/test.txt").SHA256Sums().Stdout()
2561 // Output:
2562 // a562c9c95e2ff3403e7ffcd8508c6b54d47d5f251387758d3e63dbaaa8296341
2563}
2564
2565func ExamplePipe_Slice() {
2566 s, err := script.Echo("a\nb\nc\n").Slice()

Callers

nothing calls this directly

Calls 3

EchoFunction · 0.92
StdoutMethod · 0.80
SHA256SumsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…