MCPcopy Create free account
hub / github.com/code-pushup/cli / getState

Method getState

packages/utils/src/lib/wal-sharded.ts:251–253  ·  view source on GitHub ↗

* Gets the current lifecycle state of the WAL. * * @returns Current lifecycle state: 'active', 'finalized', or 'cleaned'

()

Source from the content-addressed store, hash-verified

249 * @returns Current lifecycle state: 'active', 'finalized', or 'cleaned'
250 */
251 getState(): 'active' | 'finalized' | 'cleaned' {
252 return this.#state;
253 }
254
255 /**
256 * Checks if the WAL has been finalized.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected