Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSHA256 ¶
NewSHA256 hashes the given file using crypto.SHA256 and returns the resulting string.
func SaveToTempFile ¶ added in v0.133.0
func SaveToTempFile(closer io.ReadCloser) (string, error)
SaveToTempFile writes out the contents of the reader to a temp file. It's the caller's responsibility to clean up the temp file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.