Documentation
¶
Overview ¶
Package filestore is the local-filesystem artifact backend: the built-in default, zero infrastructure, directly inspectable.
Each ref maps to two sibling files under root: "<ref>" (data) and "<ref>.manifest.json" (manifest). Put writes both via temp-file+rename so a reader never observes a half-written pair.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
FileStore implements artifact.Store over a directory tree.
func New ¶
New returns a FileStore rooted at dir, creating dir (with parents) if absent. A failure here is a startup error, not a per-request one.
Click to show internal directories.
Click to hide internal directories.