.class public Ly/l/d; .super Ly/l/c; .source "Utils.kt" # direct methods .method public static final deleteRecursively(Ljava/io/File;)Z .locals 3 const-string v0, "$this$deleteRecursively" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v0, "$this$walkBottomUp" invoke-static {p0, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V sget-object v0, Ly/l/b;->e:Ly/l/b; const-string v1, "$this$walk" invoke-static {p0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const-string v1, "direction" invoke-static {v0, v1}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V new-instance v1, Ly/l/a; invoke-direct {v1, p0, v0}, Ly/l/a;->(Ljava/io/File;Ly/l/b;)V new-instance p0, Ly/l/a$b; invoke-direct {p0, v1}, Ly/l/a$b;->(Ly/l/a;)V :goto_0 const/4 v0, 0x1 :goto_1 invoke-virtual {p0}, Ly/h/b;->hasNext()Z move-result v1 if-eqz v1, :cond_2 invoke-virtual {p0}, Ly/h/b;->next()Ljava/lang/Object; move-result-object v1 check-cast v1, Ljava/io/File; invoke-virtual {v1}, Ljava/io/File;->delete()Z move-result v2 if-nez v2, :cond_0 invoke-virtual {v1}, Ljava/io/File;->exists()Z move-result v1 if-nez v1, :cond_1 :cond_0 if-eqz v0, :cond_1 goto :goto_0 :cond_1 const/4 v0, 0x0 goto :goto_1 :cond_2 return v0 .end method