diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-18 16:26:33 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-18 16:26:33 +0300 |
| commit | 7292a5db4e96ffeb30697ce3308d47777bf7c2f5 (patch) | |
| tree | 82df398206ab89487c0d7608068a31c5cbf97b89 /internal/git | |
| parent | 667bf24a8ac2c2b4c4f9befd7f77b22f0a156a27 (diff) | |
keepass: fix parseContent doc comment and add importBytes ctx note
- Replace the inaccurate "Go compiler can optimise away" claim in
parseContent's doc with an accurate explanation: callers that already
hold a string pass it directly, while []byte callers make a single
explicit conversion at the call site, keeping the conversion visible
rather than hidden inside the function (100 Go Mistakes #40).
- Add a comment in importBytes explaining why ctx is not threaded into
addAttachment or addTextEntry: both are synchronous, purely in-memory
operations with no I/O or blocking calls that could respect cancellation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/git')
0 files changed, 0 insertions, 0 deletions
