Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
18
const
appDir = join(__dirname,
'..'
)
19
20
async
function
getBuildId() {
21
return
fs.readFile(join(appDir,
'.next'
,
'BUILD_ID'
),
'utf8'
)
22
}
23
24
function
getData(html: string) {
25
const
$ = cheerio.load(html)
Callers
1
index.test.ts
File · 0.70
Calls
2
join
Function · 0.90
readFile
Method · 0.45
Tested by
no test coverage detected