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

Method setup_osm2ft

tools/python/maps_generator/generator/env.py:605–609  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

603 make_symlink(temp_borders, os.path.join(self.paths.draft_path, "borders"))
604
605 def setup_osm2ft(self):
606 for x in os.listdir(self.paths.osm2ft_path):
607 p = os.path.join(self.paths.osm2ft_path, x)
608 if os.path.isfile(p) and x.endswith(".mwm.osm2ft"):
609 shutil.move(p, os.path.join(self.paths.mwm_path, x))

Callers 1

__init__Method · 0.95

Calls 2

joinMethod · 0.45
moveMethod · 0.45

Tested by

no test coverage detected