MCPcopy Create free account
hub / github.com/Snapchat/Valdi / main

Function main

tools/api_surface/check_api_surface.py:268–278  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266
267
268def main():
269 if len(sys.argv) < 2:
270 print(__doc__)
271 sys.exit(1)
272
273 root = Path(sys.argv[1])
274 strict = "--strict" in sys.argv
275 if "--update" in sys.argv:
276 update(root)
277 else:
278 sys.exit(check(root, strict=strict))
279
280
281if __name__ == "__main__":

Callers 1

Calls 5

printFunction · 0.85
updateFunction · 0.85
checkFunction · 0.70
exitMethod · 0.65
PathClass · 0.50

Tested by

no test coverage detected