MCPcopy Create free account
hub / github.com/ScrapeGraphAI/just-scrape / entryUrl

Function entryUrl

src/commands/history.ts:14–17  ·  view source on GitHub ↗
(e: HistoryEntry)

Source from the content-addressed store, hash-verified

12const LOAD_MORE = "__load_more__";
13
14function entryUrl(e: HistoryEntry): string {
15 const params = e.params as Record<string, unknown>;
16 return String(params.url ?? params.query ?? "");
17}
18
19function entryLabel(e: HistoryEntry): string {
20 const short = e.id.length > 12 ? `${e.id.slice(0, 12)}…` : e.id;

Callers 1

entryLabelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected