Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'checksum' command to CLI #14

Merged
merged 1 commit into from
Nov 17, 2022
Merged

Add 'checksum' command to CLI #14

merged 1 commit into from
Nov 17, 2022

Conversation

benbjohnson
Copy link
Collaborator

This command computes the LTX checksum of a single database file. This can be used for debugging a checksum mismatch between the database file and the last LTX file.

Usage

Running against a single database:

$ ltx checksum my.db
fe13f1d0a5d4d2f4

Providing no arguments shows the help:

$ ltx checksum
The checksum command computes the LTX checksum for a database file.

Usage:

	ltx checksum PATH

Providing more than one arguments returns an error:

$ ltx checksum my.db other.db 
too many arguments

@benbjohnson benbjohnson merged commit ba0fa1f into main Nov 17, 2022
@benbjohnson benbjohnson deleted the checksum-command branch November 17, 2022 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant