MCPcopy Create free account
hub / github.com/HexHive/NASS / same_structure

Method same_structure

fuzz/fuzzparcel.py:162–170  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

160 else:
161 return True
162 def same_structure(self, other):
163 if not self.same_command(other):
164 return False
165 if self.nr_entries != other.nr_entries:
166 return False
167 for own_entry, other_entry in zip(self.entries, other.entries):
168 if not own_entry.same_arg(other_entry):
169 return False
170 return True
171 def to_bytes(self):
172 assert self.nr_entries == len(self.entries), "mismatch between nr_entries and self.entries"
173 out = b""

Callers

nothing calls this directly

Calls 2

same_commandMethod · 0.95
same_argMethod · 0.80

Tested by

no test coverage detected