mirror of
https://github.com/kuhyx/todo-app.git
synced 2026-11-10 20:07:02 +01:00
429 -> 249 lines:
note_query.dart NoteSort, NoteFilter, and the pure predicates behind
them (matchesFilter, comparatorFor). All of it takes
notes and a filter and returns a decision, which is what
made it the natural seam.
note_import.dart ImportOutcome and the in-memory LogPersistence used by
openInMemory.
note_repository.dart re-exports both, so no call site changed.
Also drops ImportOutcome.total, which nothing called. It was uncovered
before this split too -- the larger file's percentage hid it. With it gone
the suite reports 100% line coverage (2005 lines), up from the 99.9%
baseline measured at the start of this refactor.
lib/ and bin/ are now fully under the cap. 313 tests pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| app_settings.dart | ||
| desktop_backup_client.dart | ||
| legacy_sqlite_migration.dart | ||
| note_import.dart | ||
| note_query.dart | ||
| note_repository.dart | ||
| note_template_parser.dart | ||
| note_template.dart | ||
| note.dart | ||
| repository_factory_io.dart | ||
| repository_factory_web.dart | ||
| repository_factory.dart | ||
| web_log_persistence.dart | ||