onyo fsck

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

By default, the following tests are performed:

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

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

  • asset-unique: verify that all asset names are unique

  • asset-yaml: verify that all asset contents are valid YAML

usage: onyo fsck [-h]

Examples

Check the validity of an Onyo repository:

$ onyo fsck