MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / copy

Method copy

flow-python/setup.py:80–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78 self.pattern = pattern
79
80 def copy(self):
81 mkpath('megflow/{}'.format(self.dst))
82 paths = glob.glob(self.src)
83 paths = [ x for x in paths if self.pattern.fullmatch(x) ]
84
85 for path in paths:
86 copy_file(path, 'megflow/{}'.format(self.dst))
87
88
89class ExtBuild(build_ext):

Callers 3

runMethod · 0.80
registry.pyFile · 0.80
collectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected