mirror of
https://github.com/abhigyanpatwari/GitNexus.git
synced 2026-10-05 02:43:32 +00:00
refactor(lbug): drop the unused WriteStreamFactory re-export (#2215 review)
The type was re-exported from lbug-adapter 'to preserve this module's surface,' but no external code imports it by name from here (the only test reference is a comment). Keep the import from rel-pair-routing.ts (its canonical home, still used by splitRelCsvByLabelPair's signature) and drop the dead re-export. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
11ae8cb713
commit
de1071d0b1
1 changed files with 3 additions and 5 deletions
|
|
@ -49,11 +49,9 @@ import { logger } from '../logger.js';
|
|||
// ---------------------------------------------------------------------------
|
||||
// Relationship CSV splitting — extracted for testability (PR #818)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
/** Factory for creating WriteStreams — injectable for testing. Canonical
|
||||
* definition lives in rel-pair-routing.ts (imported above for local use by
|
||||
* splitRelCsvByLabelPair); re-exported here to preserve this module's surface. */
|
||||
export type { WriteStreamFactory };
|
||||
// WriteStreamFactory is imported above from rel-pair-routing.ts (its canonical
|
||||
// home) for splitRelCsvByLabelPair's signature; no external code imports it from
|
||||
// here, so it is not re-exported.
|
||||
|
||||
/** Result of splitting the relationship CSV into per-label-pair files. */
|
||||
export interface RelCsvSplitResult {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue