MCPcopy Index your code
hub / github.com/cirosantilli/linux-kernel-module-cheat / rmrf

Method rmrf

shell_helpers.py:264–270  ·  view source on GitHub ↗
(self, path)

Source from the content-addressed store, hash-verified

262 return [x for x in cmd if x != LF]
263
264 def rmrf(self, path):
265 self.print_cmd(['rm', '-r', '-f', path, LF])
266 if not self.dry_run and os.path.exists(path):
267 if os.path.isdir(path):
268 shutil.rmtree(path)
269 else:
270 os.unlink(path)
271
272 def write_configs(self, config_path, configs, config_fragments=None, mode='a'):
273 '''

Callers 1

cleanMethod · 0.80

Calls 1

print_cmdMethod · 0.95

Tested by

no test coverage detected