Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/RUB-NDS/PRET
/ set_cwd
Method
set_cwd
printer.py:369–371 ·
view source on GitHub ↗
(self, cwd="")
Source
from the content-addressed store, hash-verified
367
368
# set current working directory
369
def
set_cwd(self, cwd=
""
):
370
self.cwd = self.cpath(cwd)
if
cwd
else
""
371
self.set_prompt()
372
373
# set command prompt
374
def
set_prompt(self):
Callers
2
set_traversal
Method · 0.95
do_cd
Method · 0.95
Calls
2
cpath
Method · 0.95
set_prompt
Method · 0.95
Tested by
no test coverage detected