MCPcopy 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
161async function updateStaticFile(json, filepath) {
162 const jsonString = JSON.stringify(json, null, 2)
163 return updateFile(filepath, jsonString)
164}

Callers 1

mainFunction · 0.85

Calls 1

updateFileFunction · 0.85

Tested by

no test coverage detected