gage store
Most of these commands support Gage development and troubleshooting. Normal use does not require them. Sessions, datasets, notes, issues, and scans have their own commands.
The gage store command manages the Gage store. The store is a bare Git
repository at ~/.gage/store.git that holds every Gage object. When
GAGE_HOME is set, the store is $GAGE_HOME/store.git.
Commands that take an object accept a tag name, an object ID, or a unique ID prefix.
store init
Create the store. Running it on an existing store is harmless.
store status
Show store status.
store index
Show object index status. The object index is a cache over the stored objects. It is kept current on every open and is safe to delete at any time.
store gc
Garbage collect the store by running git gc.
store ls
List store paths.
The store is one hierarchy: namespaces, the references in them, and the files of the commit each reference points at. A path starts at the store root, runs through a reference, and continues into the files of its commit. Without a path, the command lists the Gage namespaces as a starting point.
A path with no wildcard lists the children of the container it names, or the
file it names. A path with a wildcard lists what it matches. * matches one
name and ** matches any number of names, on either side of a reference.
store cat
Print a stored file. The file’s bytes are printed as stored.
PATH is a path as gage store ls lists it. A wildcard is accepted when it
matches exactly one file.
store delete
Delete objects of any type.
Each object is deleted as its own delete command would delete it, without that command’s cleanup: a dataset that links a deleted object keeps its link, and a dataset’s members are left in place. Use this on an object its own command cannot read.
store view
Browse stored objects in an interactive view. Objects are listed on the left. The right side shows the selected object’s versions, the objects it links, and its files.
OBJECT selects an object on open.