summaryrefslogtreecommitdiff
path: root/internal/cli/cli_dispatch.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-17 08:45:18 +0300
committerPaul Buetow <paul@buetow.org>2026-04-17 08:45:18 +0300
commiteb89e32c6675d4ed50f66580346e5ea8f3d7b5b2 (patch)
tree916d5299642622d3344778222e88db16aeace1ae /internal/cli/cli_dispatch.go
parent9e2bf4af8b7b3b4ca2980aa6285482e7db0cd151 (diff)
refactor: deduplicate cli/kdbx_store.go using exported keepass helpers (tasks k4+l4)
Remove ~90 lines of duplicated code from kdbx_store.go by delegating to EnsureGroup, UpsertEntryByTitle, SetEntryField, SplitDescriptionPath, SanitizeRelativePath exported from internal/keepass. kdbxStore.Save() now delegates to keepass.AtomicSave, eliminating the double-close risk. migrate_kdbx.go updated to use the exported helpers. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/cli/cli_dispatch.go')
0 files changed, 0 insertions, 0 deletions