Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/vercel/next.js
/ getBuildId
Function
getBuildId
test/integration/prerender-preview/test/index.test.ts:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
const
appDir = join(__dirname,
'..'
)
20
21
async
function
getBuildId() {
22
return
fs.readFile(join(appDir,
'.next'
,
'BUILD_ID'
),
'utf8'
)
23
}
24
25
function
getData(html) {
26
const
$ = cheerio.load(html)
Callers
1
runTests
Function · 0.70
Calls
2
join
Function · 0.90
readFile
Method · 0.45
Tested by
no test coverage detected