MCPcopy Index your code
hub / github.com/RustPython/RustPython / compile_dir

Method compile_dir

Lib/test/test_compileall.py:1006–1008  ·  view source on GitHub ↗
(self, *, dedup=True, optimize=(0, 1, 2), force=False)

Source from the content-addressed store, hash-verified

1004 return script_helper.make_script(self.path, name, code)
1005
1006 def compile_dir(self, *, dedup=True, optimize=(0, 1, 2), force=False):
1007 compileall.compile_dir(self.path, quiet=True, optimize=optimize,
1008 hardlink_dupes=dedup, force=force)
1009
1010 def test_bad_args(self):
1011 # Bad arguments combination, hardlink deduplication make sense

Callers 15

test_disabledMethod · 0.95
test_hardlinkMethod · 0.95
test_only_two_levelsMethod · 0.95
test_recompilationMethod · 0.95
test_importMethod · 0.95
recreation_checkMethod · 0.45
test_compile_filesMethod · 0.45
test_optimizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected