MCPcopy Create free account
hub / github.com/0PandaDEV/Ziit / getMethodName

Function getMethodName

server/utils/import-queue.ts:21–25  ·  view source on GitHub ↗
(
  jobType?: "wakatime-api" | "wakatime-file" | "wakapi",
)

Source from the content-addressed store, hash-verified

19export const activeJobs = new Map<string, ImportJob>();
20
21function getMethodName(
22 jobType?: "wakatime-api" | "wakatime-file" | "wakapi",
23): string {
24 return jobType === "wakapi" ? "WakAPI" : "WakaTime";
25}
26
27function formatStatus(
28 baseStatus: ImportStatus,

Callers 1

formatStatusFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected