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

[feat] Add --store option to gopass fsck #2658

Merged
merged 2 commits into from
Sep 11, 2023

Conversation

dominikschulz
Copy link
Member

This allows limiting fsck to a specific mount-point to speed up the process for large password stores.

This allows limiting fsck to a specific mount-point to
speed up the process for large password stores.

Signed-off-by: Dominik Schulz <[email protected]>
@dominikschulz dominikschulz added the feature Enhancements and new features label Sep 11, 2023
@dominikschulz dominikschulz added this to the 1.15.8 milestone Sep 11, 2023
AnomalRoil
AnomalRoil previously approved these changes Sep 11, 2023
@@ -10,14 +10,18 @@ import (
)

// Fsck checks all stores/entries matching the given prefix.
func (s *Store) Fsck(ctx context.Context, path string) error {
func (s *Store) Fsck(ctx context.Context, store, path string) error {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to change the usage in our tests. LGTM otherwise

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I saw that. Thank you.

I'll fix that once I get a chance to.

Signed-off-by: Dominik Schulz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Enhancements and new features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants