MCPcopy
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_traversalMethod · 0.95
do_cdMethod · 0.95

Calls 2

cpathMethod · 0.95
set_promptMethod · 0.95

Tested by

no test coverage detected