Skip to content

Commit 9a814bc

Browse files
committed
refactor: trim gateway transcript helpers
1 parent 9fdcc03 commit 9a814bc

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

src/gateway/session-compaction-checkpoints.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export type CapturedCompactionCheckpointSnapshot = {
2828
leafId: string;
2929
};
3030

31-
export type ForkedCompactionCheckpointTranscript = {
31+
type ForkedCompactionCheckpointTranscript = {
3232
sessionId: string;
3333
sessionFile: string;
3434
};

src/gateway/session-transcript-index.fs.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export type IndexedTranscriptEntry = {
1414
record: ParsedTranscriptRecord;
1515
};
1616

17-
export type SessionTranscriptIndex = {
17+
type SessionTranscriptIndex = {
1818
filePath: string;
1919
mtimeMs: number;
2020
size: number;
@@ -64,10 +64,6 @@ function setCachedIndex(filePath: string, entry: CacheEntry): void {
6464
}
6565
}
6666

67-
export function invalidateSessionTranscriptIndex(filePath: string): void {
68-
transcriptIndexCache.delete(filePath);
69-
}
70-
7167
export function clearSessionTranscriptIndexCache(): void {
7268
transcriptIndexCache.clear();
7369
}

0 commit comments

Comments
 (0)