refactor(passcore): split entry changes out of lib.rs #4
Loading…
Reference in a new issue
No description provided.
Delete branch "split-passcore-lib"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Stacked on #3. Merge #3 first, then retarget this to
main. The base isdelete-renameso that the diff shows only the move.passcore/src/lib.rshad grown to 977 lines covering two jobs: the store itself, and changing entries. This only moves code; nothing behaves differently.lib.rs(now 323 lines): store setup,.gpg-idand recipients, listing,decryptandDecrypted,entry_path.entry.rs(new):Version,Change,EntryWrite,EntryRename,Store::write_entry/rename_entry/delete_entrywith their helpers, and their tests. It is a child module, so it still usesStore's private fields directly.testutil.rs(new): the shared test helpers, previously an inline module inlib.rs, plusstore_in/keyed_store, which both test modules now use.Checks:
cargo makepasses: 73 passcore tests, the same count as before the move.🤖 Generated with Claude Code