MCPcopy Create free account
hub / github.com/ipython/ipython / dirs

Method dirs

IPython/core/magics/osm.py:522–525  ·  view source on GitHub ↗

Return the current directory stack.

(self, parameter_s='')

Source from the content-addressed store, hash-verified

520
521 @line_magic
522 def dirs(self, parameter_s=''):
523 """Return the current directory stack."""
524
525 return self.shell.dir_stack
526
527 @line_magic
528 def dhist(self, parameter_s=''):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected