Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeusData/codebase-memory-mcp
/ regular_nonempty
Function
regular_nonempty
tests/test_coverage_flush.py:157–162 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
155
156
157
def
regular_nonempty(path):
158
try
:
159
info = path.lstat()
160
return
stat.S_ISREG(info.st_mode) and info.st_size > 0
161
except
OSError:
162
return
False
163
164
165
def
same_path(left, right):
Callers
1
merge_profile
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected