MCPcopy Index your code
hub / github.com/aws/aws-cli / remove_all

Method remove_all

awscli/testutils.py:604–606  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

602 self.rootdir = tempfile.mkdtemp()
603
604 def remove_all(self):
605 if os.path.exists(self.rootdir):
606 shutil.rmtree(self.rootdir)
607
608 def create_file(
609 self, filename, contents, mtime=None, mode='w', encoding=None

Callers 1

tearDownMethod · 0.45

Calls 2

existsMethod · 0.80
rmtreeMethod · 0.45

Tested by

no test coverage detected