package
2.0.1+incompatible
Repository: https://github.com/zktx-io/slsa-github-generator-test.git
Documentation: pkg.go.dev

# Functions

CreateNewFileUnderCurrentDirectory create a new file under the current directory and fails if the file already exists.
CreateNewFileUnderDirectory create a new file under the current directory and fails if the file already exists.
IsPresubmitTests returns true if running in pre-submit tests.
MarshalToBytes marshals to a byte array.
MarshalToString marshals to a string.
PathIsUnderCurrentDirectory checks whether the `path` is under the current working directory.
PathIsUnderDirectory checks to see if path is under the absolute directory specified.
SafeReadFile checks for directory traversal before reading the given file.
UnmarshalList unmarshals a string into a list of strings.
VerifyAttestationPath verifies that the path of an attestation is valid.

# Variables

ErrInternal indicates an internal error.
ErrInvalidPath indicates an invalid path.