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

Method __init__

Utility/Sandbox.py:37–40  ·  view source on GitHub ↗
(self, root_path: Path, name: str, mode: str)

Source from the content-addressed store, hash-verified

35
36class SandboxFile:
37 def __init__(self, root_path: Path, name: str, mode: str):
38 self.file = Path(root_path, name)
39 self.mode = mode
40 self.fp = None
41
42 def __enter__(self):
43 self.fp = open(self.file, self.mode)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected