diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-14 11:19:50 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-14 11:19:50 +0300 |
| commit | 55593e14ee2a4225d1db1058da9d8d1f663225b6 (patch) | |
| tree | 5fdd9830dd6411f348be28dbed2085e1806148ce /internal/cli | |
| parent | 2bc4e64acf93f04c8871d964d75f041ada57f89d (diff) | |
refactor: use fs.FS for aggregate and DB import (ask v3)
Decouple Aggregator and ImportFromDir from direct os.Open by routing
through io/fs: NewAggregatorFS, ImportFromFS, recordsdir.ListNonEmptyFilesFS.
NewAggregator and ImportFromDir wrap os.DirFS for backward compatibility.
Add fstest.MapFS tests for recordsdir, aggregate, and ImportFromFS.
Made-with: Cursor
Diffstat (limited to 'internal/cli')
0 files changed, 0 insertions, 0 deletions
