Commit 6116510
committed
refactor(client): extract disk-writer.ts into focused modules
Split 1,478-line file into 4 focused sub-modules:
- nodejs-modules.ts: Dynamic imports and initialization
- file-operations.ts: Atomic writes, locking, directory management
- entity-extraction.ts: Entity info extraction and path generation
- index-manager.ts: Hierarchical index.json operations
Benefits: Single Responsibility Principle, improved testability,
better maintainability. Main orchestrator now 377 lines vs 1,478.
Re-exports types for backward compatibility. No breaking changes.1 parent 20979f5 commit 6116510
File tree
5 files changed
+1459
-1449
lines changed- packages/client/src/cache/disk
5 files changed
+1459
-1449
lines changed
0 commit comments