MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / MockPath

Class MockPath

tests/test_auxiliaryfunctions.py:181–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179
180
181class MockPath:
182 def __init__(self, path: Path, st_mtime: int):
183 self.path = path
184 self.parent = self.path.parent
185 self.st_mtime = st_mtime
186
187 def lstat(self):
188 return self
189
190
191# labeled_folders: (has_H5, H5_st_mtime, folder_name)

Callers 1

Calls

no outgoing calls

Tested by 1