MCPcopy Index your code
hub / github.com/kivy/python-for-android / clean

Method clean

pythonforandroid/toolchain.py:843–859  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

841 .format(bs=bs, Fore=Out_Fore))
842
843 def clean(self, args):
844 components = args.component
845
846 component_clean_methods = {
847 'all': self.clean_all,
848 'dists': self.clean_dists,
849 'distributions': self.clean_dists,
850 'builds': self.clean_builds,
851 'bootstrap_builds': self.clean_bootstrap_builds,
852 'downloads': self.clean_download_cache}
853
854 for component in components:
855 if component not in component_clean_methods:
856 raise BuildInterruptingException((
857 'Asked to clean "{}" but this argument is not '
858 'recognised'.format(component)))
859 component_clean_methods[component](args)
860
861 def clean_all(self, args):
862 """Delete all build components; the package cache, package builds,

Callers

nothing calls this directly

Calls 2

formatMethod · 0.80

Tested by

no test coverage detected