chore(cli): mark buildLocalStatsStatus and LocalStatsStatus as @internal

Both symbols are consumed only by status-project.test.ts. Annotating with
/** @internal */ keeps knip's production-mode check clean without changing
runtime behavior.
This commit is contained in:
Andrey Avtomonov 2026-05-21 14:32:16 +02:00
parent 8e5c8097d5
commit 55669c3965

View file

@ -121,6 +121,7 @@ interface LocalStatsProjectDir {
semanticLayerYamlCount: number;
}
/** @internal */
export interface LocalStatsStatus {
ingest: {
totalCompletedRuns: number;
@ -834,6 +835,7 @@ function tryQuery<T>(run: () => T, fallback: T): T {
}
}
/** @internal */
export async function buildLocalStatsStatus(project: KtxLocalProject): Promise<LocalStatsStatus> {
const dbPath = ktxLocalStateDbPath(project);
const dbSqliteBytes = await fileSizeOrNull(dbPath);