MCPcopy
hub / github.com/jef/streetmerchant / cloudflare

Function cloudflare

src/logger.ts:98–109  ·  view source on GitHub ↗
(link: Link, store: Store, color?: boolean)

Source from the content-addressed store, hash-verified

96 return `✖ ${buildProductString(link, store)} :: CAPTCHA`;
97 },
98 cloudflare(link: Link, store: Store, color?: boolean): string {
99 if (color) {
100 return (
101 '✖ ' +
102 buildProductString(link, store, true) +
103 ' :: ' +
104 chalk.yellow('CLOUDFLARE, WAITING')
105 );
106 }
107
108 return `✖ ${buildProductString(link, store)} :: CLOUDFLARE, WAITING`;
109 },
110 inStock(link: Link, store: Store, color?: boolean, sms?: boolean): string {
111 const productString = `${buildProductString(link, store)} :: IN STOCK`;
112

Callers

nothing calls this directly

Calls 1

buildProductStringFunction · 0.85

Tested by

no test coverage detected