validate

Validate snapshot content against manifest.db hashes.

Back to CLI Commands

validate checks snapshot content against the hashes recorded for that snapshot.

You can validate the whole snapshot or restrict the check to selected files and directory prefixes.

Usage
rinne validate [--space <space>] [--parallel <N>] [--path <relPath>]... [--dir <relDir>]... <selector>
Options
--space <space>
Use the specified space instead of the current space.
--parallel <N>
Override the max degree of parallelism. If omitted, config.defaultParallelism or the built-in default is used.
--path <relPath>
Validate only the specified file relative to the snapshot root. Can be specified multiple times.
--dir <relDir>
Validate only the specified directory subtree. Can be specified multiple times.
Examples
Validate the entire latest snapshot
rinne validate '@0'
Validate one file
rinne validate '@0' --path src/main.cs
Validate one subtree
rinne validate '@0' --dir Assets/
Validate multiple scopes in another space
rinne validate --space main '@0' --dir ProjectSettings/ --path README.md
Notes
  • If neither --path nor --dir is specified, the entire snapshot is validated.
  • Paths are relative and may use / or \.
  • Directory matching is prefix-based.