SHA256Sums reads paths from the pipe, one per line, and produces the hex-encoded SHA-256 hash of each corresponding file, one per line. Any files that cannot be opened or read will be ignored. Deprecated: SHA256Sums has been deprecated by [Pipe.HashSums]. To get the SHA-256 hash for each file path
()
| 885 | // Deprecated: SHA256Sums has been deprecated by [Pipe.HashSums]. To get the SHA-256 |
| 886 | // hash for each file path in the pipe, call `HashSums(sha256.new())` |
| 887 | func (p *Pipe) SHA256Sums() *Pipe { |
| 888 | return p.HashSums(sha256.New()) |
| 889 | } |
| 890 | |
| 891 | // Slice returns the pipe's contents as a slice of strings, one element per |
| 892 | // line, or an error. |