MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / path_folder

Method path_folder

Utility/Sandbox.py:99–103  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

97 return SandboxFile(self.folder, name, mode)
98
99 def path_folder(self, name: str) -> Path:
100 target_path = self.path(Path(self.folder, name))
101 if not target_path.exists():
102 target_path.mkdir(parents=True)
103 return target_path
104
105 def new_child(self, name: str) -> "Sandbox":
106 subbox = Sandbox.create(self.folder, name)

Callers

nothing calls this directly

Calls 1

pathMethod · 0.95

Tested by

no test coverage detected