Skip to main content

countWorkspaceArtifactsSync

HardKAS SDK


HardKAS SDK / artifacts/src / countWorkspaceArtifactsSync

Function: countWorkspaceArtifactsSync()

countWorkspaceArtifactsSync(workspaceRoot): object

Defined in: packages/artifacts/src/resolve.ts:291

WORKSPACE-AUTHORITY-1 (C1) · what "Artifacts" counts: the distinct canonical identities among the store's entries (the tx plan lattice copy of a plan is the same artifact as the plan). An entry that does not verify has no identity to share and counts on its own, under its path. entries is the number of store files the resolver reads.

Parameters​

workspaceRoot​

string

Returns​

object

artifacts​

artifacts: number

entries​

entries: number

unverified​

unverified: number