MCPcopy Index your code
hub / github.com/ipython/ipython / check_dirs

Method check_dirs

IPython/core/profiledir.py:150–154  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 self._mkdir(self.pid_dir, 0o40700)
149
150 def check_dirs(self):
151 self.check_security_dir()
152 self.check_log_dir()
153 self.check_pid_dir()
154 self.check_startup_dir()
155
156 def copy_config_file(self, config_file: str, path: Path, overwrite=False) -> bool:
157 """Copy a default config file into the active profile directory.

Callers 1

_location_changedMethod · 0.95

Calls 4

check_security_dirMethod · 0.95
check_log_dirMethod · 0.95
check_pid_dirMethod · 0.95
check_startup_dirMethod · 0.95

Tested by

no test coverage detected