MCPcopy Create free account
hub / github.com/comaps/comaps / init

Method init

tools/python/maps_generator/generator/status.py:25–30  ·  view source on GitHub ↗
(self, stat_path: AnyStr, stat_next: AnyStr)

Source from the content-addressed store, hash-verified

23 self.find = False
24
25 def init(self, stat_path: AnyStr, stat_next: AnyStr):
26 self.stat_path = stat_path
27 self.stat_next = stat_next
28 self.stat_saved = self.status()
29 if not self.find:
30 self.find = not self.stat_saved or not self.need_skip()
31
32 def need_skip(self) -> bool:
33 if self.find:

Callers

nothing calls this directly

Calls 2

statusMethod · 0.95
need_skipMethod · 0.95

Tested by

no test coverage detected