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

Method create

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

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

(self, relative_path, directory=False)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

test_copytreeMethod · 0.45
test_copyfileMethod · 0.45
test_createMethod · 0.45
test_existsMethod · 0.45
test_getMethod · 0.45
test_deleteMethod · 0.45

Calls

no outgoing calls

Tested by 15

test_copytreeMethod · 0.36
test_copyfileMethod · 0.36
test_createMethod · 0.36
test_existsMethod · 0.36
test_getMethod · 0.36
test_deleteMethod · 0.36