MCPcopy Index your code
hub / github.com/codeaashu/claude-code / validateLogId

Function validateLogId

src/main.tsx:4406–4410  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

4404 // ant-only commands
4405 if ("external" === 'ant') {
4406 const validateLogId = (value: string) => {
4407 const maybeSessionId = validateUuid(value);
4408 if (maybeSessionId) return maybeSessionId;
4409 return Number(value);
4410 };
4411 // claude log
4412 program.command('log').description('[ANT-ONLY] Manage conversation logs.').argument('[number|sessionId]', 'A number (0, 1, 2, etc.) to display a specific log, or the sesssion ID (uuid) of a log', validateLogId).action(async (logId: string | number | undefined) => {
4413 const {

Callers

nothing calls this directly

Calls 1

validateUuidFunction · 0.50

Tested by

no test coverage detected