Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/github/docs
/ updateStaticFile
Function
updateStaticFile
src/graphql/scripts/update-files.js:161–164 ·
view source on GitHub ↗
(json, filepath)
Source
from the content-addressed store, hash-verified
159
}
160
161
async
function
updateStaticFile(json, filepath) {
162
const
jsonString = JSON.stringify(json, null, 2)
163
return
updateFile(filepath, jsonString)
164
}
Callers
1
main
Function · 0.85
Calls
1
updateFile
Function · 0.85
Tested by
no test coverage detected