MCPcopy
hub / github.com/vercel/next.js / getBuildId

Function getBuildId

test/integration/draft-mode/test/index.test.ts:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18const appDir = join(__dirname, '..')
19
20async function getBuildId() {
21 return fs.readFile(join(appDir, '.next', 'BUILD_ID'), 'utf8')
22}
23
24function getData(html: string) {
25 const $ = cheerio.load(html)

Callers 1

index.test.tsFile · 0.70

Calls 2

joinFunction · 0.90
readFileMethod · 0.45

Tested by

no test coverage detected