onyo fsck

Run a suite of integrity checks on the Onyo repository and its contents.

The following tests are performed:

  • anchors: directories (outside of .onyo) have an .anchor file

  • asset-yaml: asset YAML is valid

  • clean-tree: git has no changed (staged or unstaged) or untracked files

Like Git, Onyo ignores files specified in .gitignore.

usage: onyo fsck [-h]

Examples

Check the validity of an Onyo repository:

$ onyo fsck