MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / has_plain_spec_changed

Method has_plain_spec_changed

plain_modules.py:162–170  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

160 return module_metadata["required_modules_code_hash"] != previous_module.get_module_code_hash()
161
162 def has_plain_spec_changed(self) -> bool:
163 module_metadata = self.load_module_metadata()
164 if not module_metadata:
165 return True
166
167 if "source_hash" not in module_metadata:
168 return True
169
170 return module_metadata["source_hash"] != self.get_module_source_hash()
171
172 def _get_module_functional_requirements(self) -> list[str]:
173 module_functional_requirements = []

Calls 2

load_module_metadataMethod · 0.95