// Package bork defines the sentinel errors used by the manifest // reader and writer. package bork import ( "errors" ) var ( // ErrMissingMagic indicates the input lacks the manifest magic bytes. ErrMissingMagic = errors.New("missing magic bytes in file") // ErrFileTruncated indicates the input ended before the expected length. ErrFileTruncated = errors.New("file/stream is truncated abnormally") )