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

Method create

tools/anima/model.py:22–25  ·  view source on GitHub ↗
(cls, problem: ProblemInfo, path: Path)

Source from the content-addressed store, hash-verified

20
21 @classmethod
22 def create(cls, problem: ProblemInfo, path: Path):
23 solution = Solution(problem, path)
24 solution._create_dirs()
25 return solution
26
27 def _create_dirs(self):
28 self.animation_path().mkdir()

Callers 1

create_solutionFunction · 0.80

Calls 2

_create_dirsMethod · 0.95
SolutionClass · 0.70

Tested by

no test coverage detected