MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / check

Method check

scripts/test-impact/coverage_live_v2.py:241–249  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

239 self.directory = None
240
241 def check(self):
242 fd = _directory(self.path)
243 try:
244 actual = os.fstat(fd)
245 if (actual.st_dev, actual.st_ino) != (self.directory_identity.st_dev,
246 self.directory_identity.st_ino):
247 _error("identity", "owned output directory was replaced")
248 finally:
249 os.close(fd)
250
251 def write(self, relative, data):
252 self.check()

Callers 6

writeMethod · 0.95
publishMethod · 0.95
inventoryMethod · 0.95
setAutomaticFunction · 0.80
k10Function · 0.80
worker_stack_threadFunction · 0.80

Calls 3

_directoryFunction · 0.85
_errorFunction · 0.85
closeMethod · 0.45

Tested by 1

worker_stack_threadFunction · 0.64