예제 #1
0
 def remove_locks(self):
     folders = list_folder_subdirs(self._store_folder, 4)
     for folder in folders:
         conan_folder = os.path.join(self._store_folder, folder)
         Lock.clean(conan_folder)
         shutil.rmtree(os.path.join(conan_folder, "locks"),
                       ignore_errors=True)
예제 #2
0
 def remove_package_locks(self, reference):
     conan_folder = self.conan(reference)
     Lock.clean(conan_folder)
     shutil.rmtree(os.path.join(conan_folder, "locks"), ignore_errors=True)
예제 #3
0
 def remove_package_locks(self):
     conan_folder = self._base_folder
     Lock.clean(conan_folder)
     rmdir(os.path.join(conan_folder, "locks"))