Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ file
Method
file
recipes/Python/492214_dal6py/recipe-492214.py:75–77 ·
view source on GitHub ↗
(self, path, mode)
Source
from the content-addressed store, hash-verified
73
74
# Open A File
75
def
file(self, path, mode):
76
path = self.__resolve_path(path)
77
return
File(self.__disk, path, mode)
78
79
# Remove A File
80
def
remove(self, path):
Callers
2
__init__
Method · 0.45
__menu
Method · 0.45
Calls
2
__resolve_path
Method · 0.95
File
Class · 0.70
Tested by
no test coverage detected