MCPcopy Create free account
hub / github.com/arctic-cli/interface / readState

Function readState

packages/arctic/src/cli/claude-import.ts:438–443  ·  view source on GitHub ↗
(key: string[])

Source from the content-addressed store, hash-verified

436}
437
438async function readState(key: string[]) {
439 return Storage.read<ClaudeImportState>(key).catch((err) => {
440 if (err instanceof Storage.NotFoundError) return undefined
441 throw err
442 })
443}
444
445async function findProjectClaudeCommandDir(): Promise<string | undefined> {
446 const found = await Filesystem.findUp(PROJECT_COMMANDS_DIR, process.cwd())

Calls 1

readMethod · 0.45

Tested by

no test coverage detected