mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
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:
parent
8e5c8097d5
commit
55669c3965
1 changed files with 2 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue