diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-17 08:45:05 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-17 08:45:05 +0300 |
| commit | b53e348d89046ea8de5b82c283fb56980b53cdd8 (patch) | |
| tree | f2115ccf556dddfc99ad129522069845c53ebd21 /internal/keepass/format.go | |
| parent | e4671dc15d224d944fe5c3715c95793c21167443 (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/format.go')
0 files changed, 0 insertions, 0 deletions
