package
1.2.0
Repository: https://github.com/notaryproject/notation.git
Documentation: pkg.go.dev

# Functions

CopyFromReaderToDir copies file from src to dst where dst is the destination file path.
CopyToDir copies the src file to dst.
DetectFileType returns a file's content type given path.
IsRegularFile checks if path is a regular file.
ValidateSHA256Sum returns nil if SHA256 of file at path equals to checksum.
WriteFile writes to a path with all parent directories created.
WriteFileWithPermission writes to a path with all parent directories created.

# Variables

256 MiB.