MCPcopy Index your code
hub / github.com/adobe/react-spectrum / getAPI

Function getAPI

scripts/compareAPIs.js:260–264  ·  view source on GitHub ↗
(filePath)

Source from the content-addressed store, hash-verified

258}
259
260function getAPI(filePath) {
261 let json = readJsonSync(filePath);
262
263 return json;
264}
265
266// bulk of the logic, read the api files, rebuild the interfaces, diff those reconstructions
267function getDiff(pair) {

Callers 1

getDiffFunction · 0.85

Calls 1

readJsonSyncFunction · 0.70

Tested by

no test coverage detected