MCPcopy Create free account
hub / github.com/ampproject/amphtml / generateContents

Function generateContents

build-system/common/esbuild-babel.js:199–201  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

197
198 let contents;
199 const generateContents = () =>
200 // eslint-disable-next-line local/no-forbidden-terms
201 (contents ||= new TextEncoder().encode(text));
202
203 let hash;
204 const generateHash = () =>

Callers 1

contentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected