Skip to main content

listWorkspaceStoreFilesSync

HardKAS SDK


HardKAS SDK / artifacts/src / listWorkspaceStoreFilesSync

Function: listWorkspaceStoreFilesSync()

listWorkspaceStoreFilesSync(workspaceRoot): WorkspaceStoreFile[]

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

WORKSPACE-AUTHORITY-1 (WA-I1) · every .json regular file of the artifact store the resolver reads — the store root and its canonical subdirectories, contained by real path, deduplicated, in a stable order — whether or not it parses. The resolver keeps the parseable ones (enumerateWorkspaceArtifactsSync); the query projection indexes exactly this set, so a file that does not parse is reported as corrupted instead of silently ignored.

Parameters​

workspaceRoot​

string

Returns​

WorkspaceStoreFile[]