MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / check

Function check

libatomic/proto/check_contract.py:63–65  ·  view source on GitHub ↗
(condition, description)

Source from the content-addressed store, hash-verified

61 failures = []
62
63 def check(condition, description):
64 if not condition:
65 failures.append(description)
66
67 with tempfile.TemporaryDirectory(prefix="atomic-proto-", dir=args.temp_dir) as output:
68 descriptor_path = Path(output) / "atomic.pb"

Callers 2

mainFunction · 0.70
fieldFunction · 0.70

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected