summaryrefslogtreecommitdiff
path: root/internal/keepass/remove.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-17 08:45:05 +0300
committerPaul Buetow <paul@buetow.org>2026-04-17 08:45:05 +0300
commitb53e348d89046ea8de5b82c283fb56980b53cdd8 (patch)
treef2115ccf556dddfc99ad129522069845c53ebd21 /internal/keepass/remove.go
parente4671dc15d224d944fe5c3715c95793c21167443 (diff)
feat: add WriteBack hook on store.Data for backend-specific edit round-trip (tasks i4+l4)
Add optional WriteBack func([]byte) error field to Data struct. ReimportAfterExport calls WriteBack(newContent) when set, otherwise falls back to Commit. applyAction now calls s.LoadData (exported) so the geheim and KeePass edit paths are symmetric. Tests cover nil, non-nil, and error-propagation paths. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/keepass/remove.go')
0 files changed, 0 insertions, 0 deletions