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

Function logPull

src/services/teamMemorySync/index.ts:1195–1216  ·  view source on GitHub ↗
(
  startTime: number,
  outcome: {
    success: boolean
    filesWritten?: number
    notModified?: boolean
    errorType?: string
    status?: number
  },
)

Source from the content-addressed store, hash-verified

1193// ─── Telemetry helpers ───────────────────────────────────────
1194
1195function logPull(
1196 startTime: number,
1197 outcome: {
1198 success: boolean
1199 filesWritten?: number
1200 notModified?: boolean
1201 errorType?: string
1202 status?: number
1203 },
1204): void {
1205 logEvent('tengu_team_mem_sync_pull', {
1206 success: outcome.success,
1207 files_written: outcome.filesWritten ?? 0,
1208 not_modified: outcome.notModified ?? false,
1209 duration_ms: Date.now() - startTime,
1210 ...(outcome.errorType && {
1211 errorType:
1212 outcome.errorType as AnalyticsMetadata_I_VERIFIED_THIS_IS_NOT_CODE_OR_FILEPATHS,
1213 }),
1214 ...(outcome.status && { status: outcome.status }),
1215 })
1216}
1217
1218function logPush(
1219 startTime: number,

Callers 1

pullTeamMemoryFunction · 0.85

Calls 1

logEventFunction · 0.85

Tested by

no test coverage detected