MCPcopy
hub / github.com/benoitc/gunicorn / get_files

Method get_files

gunicorn/reloader.py:27–36  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25 self._extra_files.add(filename)
26
27 def get_files(self):
28 fnames = [
29 COMPILED_EXT_RE.sub('py', module.__file__)
30 for module in tuple(sys.modules.values())
31 if getattr(module, '__file__', None)
32 ]
33
34 fnames.extend(self._extra_files)
35
36 return fnames
37
38
39class Reloader(ReloaderBase):

Callers 2

runMethod · 0.80
get_dirsMethod · 0.80

Calls 1

valuesMethod · 0.80

Tested by

no test coverage detected