MCPcopy
hub / github.com/MisterBooo/LeetCodeAnimation / _create_dirs

Method _create_dirs

tools/anima/model.py:27–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25 return solution
26
27 def _create_dirs(self):
28 self.animation_path().mkdir()
29 self.article_path().mkdir()
30 self.code_path().mkdir()
31 (self.animation_path() / 'Animation.m4v').touch()
32 (self.animation_path() / 'Animation.gif').touch()
33
34 def _path_to(self, s: str) -> Path:
35 return self.path / s

Callers 1

createMethod · 0.95

Calls 3

animation_pathMethod · 0.95
article_pathMethod · 0.95
code_pathMethod · 0.95

Tested by

no test coverage detected