MCPcopy Index your code
hub / github.com/saltstack/salt / rm_pyfile

Method rm_pyfile

tests/unit/test_loader.py:1082–1084  ·  view source on GitHub ↗
(self, pyfile)

Source from the content-addressed store, hash-verified

1080 remove_bytecode(pyfile)
1081
1082 def rm_pyfile(self, pyfile):
1083 os.unlink(pyfile)
1084 remove_bytecode(pyfile)
1085
1086 def update_module(self, relative_path, contents):
1087 self.update_pyfile(os.path.join(self.tmp_dir, relative_path), contents)

Callers 1

rm_moduleMethod · 0.95

Calls 2

remove_bytecodeFunction · 0.85
unlinkMethod · 0.80

Tested by

no test coverage detected