Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ chdir
Method
chdir
recipes/Python/492214_dal6py/recipe-492214.py:47–50 ·
view source on GitHub ↗
(self, path)
Source
from the content-addressed store, hash-verified
45
46
# Change Currect Directory
47
def
chdir(self, path):
48
path = self.__resolve_path(path)
49
assert self.__disk.is_directory(path)
50
self.__cwd = path
51
52
# Get Current Directory
53
def
getcwd(self):
Callers
15
recipe-577463.py
File · 0.80
execute
Method · 0.80
recipe-576859.py
File · 0.80
install
Function · 0.80
main
Function · 0.80
Build
Function · 0.80
chdir
Function · 0.80
recipe-279407.py
File · 0.80
recipe-578904.py
File · 0.80
recipe-577439.py
File · 0.80
recipe-440665.py
File · 0.80
recipe-577570.py
File · 0.80
Calls
2
__resolve_path
Method · 0.95
is_directory
Method · 0.45
Tested by
no test coverage detected