MCPcopy Create free account
hub / github.com/datmo/datmo / exists

Method exists

datmo/core/controller/file/driver/__init__.py:69–84  ·  view source on GitHub ↗

Determine if a file or directory exists Parameters ---------- relative_path : str path relative to the filepath dir : bool True if directory else file Returns ------- bool True if exists else False

(self, relative_path, directory=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

test_existsMethod · 0.45
test_deleteMethod · 0.45
test_exists_fileMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_existsMethod · 0.36
test_deleteMethod · 0.36
test_exists_fileMethod · 0.36