Documentation
¶
Index ¶
- Variables
- func Open(directory, name string) (*os.File, os.FileInfo, error)
- func OpenInRoot(root *os.Root, name string) (*os.File, os.FileInfo, error)
- func Read(ctx context.Context, directory, name string, limit int64) ([]byte, error)
- func ReadInRoot(ctx context.Context, root *os.Root, name string, limit int64) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrPath = errors.New("invalid artifact path")
View Source
var ErrSizeLimit = errors.New("artifact size limit exceeded")
ErrSizeLimit indicates that an artifact is too large for a bounded read.
Functions ¶
func OpenInRoot ¶ added in v0.16.11
OpenInRoot opens a regular artifact relative to an already pinned root.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.