public void cleanPatchByVersion(String versionName){
  if (patchDirectory == null || versionName == null) {
    return;
  }
  String path=patchDirectory.getAbsolutePath() + "/" + versionName;
  SharePatchFileUtil.deleteDir(path);
}

public void cleanPatchByVersion ( String versionName ) { if ( patchDirectory == null || versionName == null ) { return ; } String path = patchDirectory . getAbsolutePath ( ) + "/" + versionName ; SharePatchFileUtil . deleteDir ( path ) ; }
clean the patch version files , such as tinker / patch - 641e634c
