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

Function regular_nonempty

tests/test_coverage_children.py:179–184  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

177
178
179def regular_nonempty(path):
180 try:
181 value = path.lstat()
182 return stat.S_ISREG(value.st_mode) and value.st_size > 0
183 except OSError:
184 return False
185
186
187def read_log(directory, record, kind):

Callers 2

profile_controlsFunction · 0.70
run_caseFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected