* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2993 lines
77 KiB
Smali
2993 lines
77 KiB
Smali
.class Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;
|
|
.super Lkotlin/io/path/PathsKt__PathReadWriteKt;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$WhenMappings;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000t\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0002\n\u0002\u0010\u0002\n\u0000\n\u0002\u0010 \n\u0002\u0008\u0003\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0008\u0006\n\u0002\u0018\u0002\n\u0002\u0008\u0007\n\u0002\u0010\u0011\n\u0002\u0018\u0002\n\u0002\u0008\u000c\u001aw\u0010\u0000\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012Q\u0008\u0002\u0010\u0003\u001aK\u0012\u0013\u0012\u00110\u0001\u00a2\u0006\u000c\u0008\u0005\u0012\u0008\u0008\u0006\u0012\u0004\u0008\u0008(\u0007\u0012\u0013\u0012\u00110\u0001\u00a2\u0006\u000c\u0008\u0005\u0012\u0008\u0008\u0006\u0012\u0004\u0008\u0008(\u0002\u0012\u0017\u0012\u00150\u0008j\u0002`\n\u00a2\u0006\u000c\u0008\u0005\u0012\u0008\u0008\u0006\u0012\u0004\u0008\u0008(\t\u0012\u0004\u0012\u00020\u000b0\u00042\u0006\u0010\u000c\u001a\u00020\r2\u0006\u0010\u000e\u001a\u00020\rH\u0007\u001a\u00b4\u0001\u0010\u0000\u001a\u00020\u0001*\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u00012Q\u0008\u0002\u0010\u0003\u001aK\u0012\u0013\u0012\u00110\u0001\u00a2\u0006\u000c\u0008\u0005\u0012\u0008\u0008\u0006\u0012\u0004\u0008\u0008(\u0007\u0012\u0013\u0012\u00110\u0001\u00a2\u0006\u000c\u0008\u0005\u0012\u0008\u0008\u0006\u0012\u0004\u0008\u0008(\u0002\u0012\u0017\u0012\u00150\u0008j\u0002`\n\u00a2\u0006\u000c\u0008\u0005\u0012\u0008\u0008\u0006\u0012\u0004\u0008\u0008(\t\u0012\u0004\u0012\u00020\u000b0\u00042\u0006\u0010\u000c\u001a\u00020\r2C\u0008\u0002\u0010\u000f\u001a=\u0012\u0004\u0012\u00020\u0010\u0012\u0013\u0012\u00110\u0001\u00a2\u0006\u000c\u0008\u0005\u0012\u0008\u0008\u0006\u0012\u0004\u0008\u0008(\u0007\u0012\u0013\u0012\u00110\u0001\u00a2\u0006\u000c\u0008\u0005\u0012\u0008\u0008\u0006\u0012\u0004\u0008\u0008(\u0002\u0012\u0004\u0012\u00020\u00110\u0004\u00a2\u0006\u0002\u0008\u0012H\u0007\u001a\u0011\u0010\u0013\u001a\u00020\u0014*\u00020\u0011H\u0003\u00a2\u0006\u0002\u0008\u0015\u001a\u0011\u0010\u0013\u001a\u00020\u0014*\u00020\u000bH\u0003\u00a2\u0006\u0002\u0008\u0015\u001a\u000c\u0010\u0016\u001a\u00020\u0017*\u00020\u0001H\u0007\u001a\u001b\u0010\u0018\u001a\u000c\u0012\u0008\u0012\u00060\u0008j\u0002`\n0\u0019*\u00020\u0001H\u0002\u00a2\u0006\u0002\u0008\u001a\u001a$\u0010\u001b\u001a\u00020\u00172\u0006\u0010\u001c\u001a\u00020\u001d2\u000c\u0010\u001e\u001a\u0008\u0012\u0004\u0012\u00020\u00170\u001fH\u0082\u0008\u00a2\u0006\u0002\u0008 \u001a&\u0010!\u001a\u0004\u0018\u0001H\"\"\u0004\u0008\u0000\u0010\"2\u000c\u0010\u001e\u001a\u0008\u0012\u0004\u0012\u0002H\"0\u001fH\u0082\u0008\u00a2\u0006\u0004\u0008#\u0010$\u001a1\u0010%\u001a\u00020\u0017*\u0008\u0012\u0004\u0012\u00020\u00010&2\u0006\u0010\u0006\u001a\u00020\u00012\u0008\u0010\'\u001a\u0004\u0018\u00010\u00012\u0006\u0010\u001c\u001a\u00020\u001dH\u0002\u00a2\u0006\u0002\u0008(\u001a\'\u0010)\u001a\u00020\u0017*\u0008\u0012\u0004\u0012\u00020\u00010&2\u0006\u0010\u0006\u001a\u00020\u00012\u0006\u0010\u001c\u001a\u00020\u001dH\u0002\u00a2\u0006\u0002\u0008*\u001a5\u0010+\u001a\u00020\r*\u0008\u0012\u0004\u0012\u00020\u00010&2\u0006\u0010,\u001a\u00020\u00012\u0012\u0010-\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020/0.\"\u00020/H\u0002\u00a2\u0006\u0004\u00080\u00101\u001a\'\u00102\u001a\u00020\u00172\u0006\u00103\u001a\u00020\u00012\u0008\u0010\'\u001a\u0004\u0018\u00010\u00012\u0006\u0010\u001c\u001a\u00020\u001dH\u0002\u00a2\u0006\u0002\u00084\u001a\u001d\u00105\u001a\u00020\u00172\u0006\u00106\u001a\u00020\u00012\u0006\u0010\u001c\u001a\u00020\u001dH\u0002\u00a2\u0006\u0002\u00087\u001a\u000c\u00108\u001a\u00020\u0017*\u00020\u0001H\u0000\u001a\u0019\u00109\u001a\u00020\u0017*\u00020\u00012\u0006\u0010\'\u001a\u00020\u0001H\u0002\u00a2\u0006\u0002\u0008:\u00a8\u0006;"
|
|
}
|
|
d2 = {
|
|
"copyToRecursively",
|
|
"Ljava/nio/file/Path;",
|
|
"target",
|
|
"onError",
|
|
"Lkotlin/Function3;",
|
|
"Lkotlin/ParameterName;",
|
|
"name",
|
|
"source",
|
|
"Ljava/lang/Exception;",
|
|
"exception",
|
|
"Lkotlin/Exception;",
|
|
"Lkotlin/io/path/OnErrorResult;",
|
|
"followLinks",
|
|
"",
|
|
"overwrite",
|
|
"copyAction",
|
|
"Lkotlin/io/path/CopyActionContext;",
|
|
"Lkotlin/io/path/CopyActionResult;",
|
|
"Lkotlin/ExtensionFunctionType;",
|
|
"toFileVisitResult",
|
|
"Ljava/nio/file/FileVisitResult;",
|
|
"toFileVisitResult$PathsKt__PathRecursiveFunctionsKt",
|
|
"deleteRecursively",
|
|
"",
|
|
"deleteRecursivelyImpl",
|
|
"",
|
|
"deleteRecursivelyImpl$PathsKt__PathRecursiveFunctionsKt",
|
|
"collectIfThrows",
|
|
"collector",
|
|
"Lkotlin/io/path/ExceptionsCollector;",
|
|
"function",
|
|
"Lkotlin/Function0;",
|
|
"collectIfThrows$PathsKt__PathRecursiveFunctionsKt",
|
|
"tryIgnoreNoSuchFileException",
|
|
"R",
|
|
"tryIgnoreNoSuchFileException$PathsKt__PathRecursiveFunctionsKt",
|
|
"(Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;",
|
|
"handleEntry",
|
|
"Ljava/nio/file/SecureDirectoryStream;",
|
|
"parent",
|
|
"handleEntry$PathsKt__PathRecursiveFunctionsKt",
|
|
"enterDirectory",
|
|
"enterDirectory$PathsKt__PathRecursiveFunctionsKt",
|
|
"isDirectory",
|
|
"entryName",
|
|
"options",
|
|
"",
|
|
"Ljava/nio/file/LinkOption;",
|
|
"isDirectory$PathsKt__PathRecursiveFunctionsKt",
|
|
"(Ljava/nio/file/SecureDirectoryStream;Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z",
|
|
"insecureHandleEntry",
|
|
"entry",
|
|
"insecureHandleEntry$PathsKt__PathRecursiveFunctionsKt",
|
|
"insecureEnterDirectory",
|
|
"path",
|
|
"insecureEnterDirectory$PathsKt__PathRecursiveFunctionsKt",
|
|
"checkFileName",
|
|
"checkNotSameAs",
|
|
"checkNotSameAs$PathsKt__PathRecursiveFunctionsKt",
|
|
"kotlin-stdlib-jdk7"
|
|
}
|
|
k = 0x5
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x31
|
|
xs = "kotlin/io/path/PathsKt"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nPathRecursiveFunctions.kt\nKotlin\n*S Kotlin\n*F\n+ 1 PathRecursiveFunctions.kt\nkotlin/io/path/PathsKt__PathRecursiveFunctionsKt\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 _Collections.kt\nkotlin/collections/CollectionsKt___CollectionsKt\n*L\n1#1,532:1\n378#1,2:536\n386#1:538\n386#1:539\n380#1,4:540\n378#1,2:544\n386#1:546\n380#1,4:547\n386#1:551\n378#1,6:552\n378#1,2:558\n386#1:560\n380#1,4:561\n1#2:533\n1869#3,2:534\n*S KotlinDebug\n*F\n+ 1 PathRecursiveFunctions.kt\nkotlin/io/path/PathsKt__PathRecursiveFunctionsKt\n*L\n394#1:536,2\n409#1:538\n412#1:539\n394#1:540,4\n420#1:544,2\n421#1:546\n420#1:547,4\n432#1:551\n440#1:552,6\n463#1:558,2\n464#1:560\n463#1:561,4\n314#1:534,2\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Lkotlin/io/path/PathsKt__PathReadWriteKt;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic a(ZLkotlin/io/path/CopyActionContext;Ljava/nio/file/Path;Ljava/nio/file/Path;)Lkotlin/io/path/CopyActionResult;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1, p2, p3}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$lambda$1$PathsKt__PathRecursiveFunctionsKt(ZLkotlin/io/path/CopyActionContext;Ljava/nio/file/Path;Ljava/nio/file/Path;)Lkotlin/io/path/CopyActionResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$copyToRecursively$copy(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static/range {p0 .. p7}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$copy$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p0
|
|
|
|
.line 5
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$copyToRecursively$error(Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/Exception;)Ljava/nio/file/FileVisitResult;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static/range {p0 .. p5}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$error$PathsKt__PathRecursiveFunctionsKt(Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/Exception;)Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p0
|
|
|
|
.line 5
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic b(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static/range {p0 .. p6}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$lambda$3$1$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic c(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Lkotlin/io/path/FileVisitorBuilder;)Lkotlin/Unit;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static/range {p0 .. p6}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$lambda$3$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Lkotlin/io/path/FileVisitorBuilder;)Lkotlin/Unit;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final checkFileName(Ljava/nio/file/Path;)V
|
|
.locals 3
|
|
.param p0 # Ljava/nio/file/Path;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p0}, Lkotlin/io/path/PathsKt__PathUtilsKt;->getName(Ljava/nio/file/Path;)Ljava/lang/String;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v1
|
|
|
|
.line 14
|
|
const/16 v2, 0x2e
|
|
|
|
.line 15
|
|
.line 16
|
|
if-eq v1, v2, :cond_5
|
|
|
|
.line 17
|
|
.line 18
|
|
const/16 v2, 0x5ee
|
|
|
|
.line 19
|
|
.line 20
|
|
if-eq v1, v2, :cond_4
|
|
|
|
.line 21
|
|
.line 22
|
|
const v2, 0xb26f
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
if-eq v1, v2, :cond_3
|
|
|
|
.line 26
|
|
.line 27
|
|
const v2, 0xb29c
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
if-eq v1, v2, :cond_2
|
|
|
|
.line 31
|
|
.line 32
|
|
const/16 v2, 0x5c0
|
|
|
|
.line 33
|
|
.line 34
|
|
if-eq v1, v2, :cond_1
|
|
|
|
.line 35
|
|
.line 36
|
|
const/16 v2, 0x5c1
|
|
|
|
.line 37
|
|
.line 38
|
|
if-eq v1, v2, :cond_0
|
|
|
|
.line 39
|
|
.line 40
|
|
goto :goto_0
|
|
|
|
.line 41
|
|
:cond_0
|
|
const-string v1, "./"
|
|
|
|
.line 42
|
|
.line 43
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result v0
|
|
|
|
.line 47
|
|
if-nez v0, :cond_6
|
|
|
|
.line 48
|
|
.line 49
|
|
goto :goto_0
|
|
|
|
.line 50
|
|
:cond_1
|
|
const-string v1, ".."
|
|
|
|
.line 51
|
|
.line 52
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
move-result v0
|
|
|
|
.line 56
|
|
if-nez v0, :cond_6
|
|
|
|
.line 57
|
|
.line 58
|
|
goto :goto_0
|
|
|
|
.line 59
|
|
:cond_2
|
|
const-string v1, "..\\"
|
|
|
|
.line 60
|
|
.line 61
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 62
|
|
.line 63
|
|
.line 64
|
|
move-result v0
|
|
|
|
.line 65
|
|
if-nez v0, :cond_6
|
|
|
|
.line 66
|
|
.line 67
|
|
goto :goto_0
|
|
|
|
.line 68
|
|
:cond_3
|
|
const-string v1, "../"
|
|
|
|
.line 69
|
|
.line 70
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 71
|
|
.line 72
|
|
.line 73
|
|
move-result v0
|
|
|
|
.line 74
|
|
if-nez v0, :cond_6
|
|
|
|
.line 75
|
|
.line 76
|
|
goto :goto_0
|
|
|
|
.line 77
|
|
:cond_4
|
|
const-string v1, ".\\"
|
|
|
|
.line 78
|
|
.line 79
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 80
|
|
.line 81
|
|
.line 82
|
|
move-result v0
|
|
|
|
.line 83
|
|
if-nez v0, :cond_6
|
|
|
|
.line 84
|
|
.line 85
|
|
goto :goto_0
|
|
|
|
.line 86
|
|
:cond_5
|
|
const-string v1, "."
|
|
|
|
.line 87
|
|
.line 88
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
.line 89
|
|
.line 90
|
|
.line 91
|
|
move-result v0
|
|
|
|
.line 92
|
|
if-nez v0, :cond_6
|
|
|
|
.line 93
|
|
.line 94
|
|
:goto_0
|
|
return-void
|
|
|
|
.line 95
|
|
:cond_6
|
|
new-instance v0, Lkotlin/io/path/IllegalFileNameException;
|
|
|
|
.line 96
|
|
.line 97
|
|
invoke-direct {v0, p0}, Lkotlin/io/path/IllegalFileNameException;-><init>(Ljava/nio/file/Path;)V
|
|
|
|
.line 98
|
|
.line 99
|
|
.line 100
|
|
throw v0
|
|
.end method
|
|
|
|
.method private static final checkNotSameAs$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {p0}, Ljava/nio/file/Files;->isSymbolicLink(Ljava/nio/file/Path;)Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result v0
|
|
|
|
.line 5
|
|
if-nez v0, :cond_1
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-static {p0, p1}, Ljava/nio/file/Files;->isSameFile(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
move-result p1
|
|
|
|
.line 11
|
|
if-nez p1, :cond_0
|
|
|
|
.line 12
|
|
.line 13
|
|
goto :goto_0
|
|
|
|
.line 14
|
|
:cond_0
|
|
new-instance p1, Ljava/nio/file/FileSystemLoopException;
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object p0
|
|
|
|
.line 20
|
|
new-instance p1, Ljava/nio/file/FileSystemLoopException;
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-direct {p1, p0}, Ljava/nio/file/FileSystemLoopException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
throw p1
|
|
|
|
.line 26
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final collectIfThrows$PathsKt__PathRecursiveFunctionsKt(Lkotlin/io/path/ExceptionsCollector;Lkotlin/jvm/functions/Function0;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/io/path/ExceptionsCollector;",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"Lkotlin/Unit;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
invoke-interface {p1}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
return-void
|
|
|
|
.line 5
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 6
|
|
invoke-virtual {p0, p1}, Lkotlin/io/path/ExceptionsCollector;->collect(Ljava/lang/Exception;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final copyToRecursively(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;ZLkotlin/jvm/functions/Function3;)Ljava/nio/file/Path;
|
|
.locals 9
|
|
.param p0 # Ljava/nio/file/Path;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/nio/file/Path;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lkotlin/jvm/functions/Function3;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p4 # Lkotlin/jvm/functions/Function3;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/Path;",
|
|
"Lkotlin/jvm/functions/Function3<",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/lang/Exception;",
|
|
"+",
|
|
"Lkotlin/io/path/OnErrorResult;",
|
|
">;Z",
|
|
"Lkotlin/jvm/functions/Function3<",
|
|
"-",
|
|
"Lkotlin/io/path/CopyActionContext;",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"+",
|
|
"Lkotlin/io/path/CopyActionResult;",
|
|
">;)",
|
|
"Ljava/nio/file/Path;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.8"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/io/path/ExperimentalPathApi;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v1, "<this>"
|
|
|
|
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v1, "target"
|
|
|
|
invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v1, "onError"
|
|
|
|
invoke-static {p2, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v1, "copyAction"
|
|
|
|
invoke-static {p4, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 3
|
|
sget-object v1, Lkotlin/io/path/LinkFollowing;->INSTANCE:Lkotlin/io/path/LinkFollowing;
|
|
|
|
invoke-virtual {v1, p3}, Lkotlin/io/path/LinkFollowing;->toLinkOptions(Z)[Ljava/nio/file/LinkOption;
|
|
|
|
move-result-object v1
|
|
|
|
array-length v3, v1
|
|
|
|
invoke-static {v1, v3}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, [Ljava/nio/file/LinkOption;
|
|
|
|
array-length v3, v1
|
|
|
|
invoke-static {v1, v3}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-static {p0, v1}, Ljava/nio/file/Files;->exists(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_8
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
new-array v3, v1, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-static {v3, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-static {p0, v3}, Ljava/nio/file/Files;->exists(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_7
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
invoke-static {p0}, Ljava/nio/file/Files;->isSymbolicLink(Ljava/nio/file/Path;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_7
|
|
|
|
.line 5
|
|
:cond_0
|
|
new-array v3, v1, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-static {v3, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-static {p1, v3}, Ljava/nio/file/Files;->exists(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
|
|
move-result v3
|
|
|
|
const/4 v5, 0x1
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
invoke-static {p1}, Ljava/nio/file/Files;->isSymbolicLink(Ljava/nio/file/Path;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
move v3, v5
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v3, v1
|
|
|
|
:goto_0
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 6
|
|
invoke-static/range {p0 .. p1}, Ljava/nio/file/Files;->isSameFile(Ljava/nio/file/Path;Ljava/nio/file/Path;)Z
|
|
|
|
move-result v7
|
|
|
|
if-nez v7, :cond_7
|
|
|
|
.line 7
|
|
:cond_2
|
|
invoke-interface {p0}, Ljava/nio/file/Path;->getFileSystem()Ljava/nio/file/FileSystem;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-interface {p1}, Ljava/nio/file/Path;->getFileSystem()Ljava/nio/file/FileSystem;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-static {v7, v8}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result v7
|
|
|
|
if-nez v7, :cond_3
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
if-eqz v3, :cond_4
|
|
|
|
.line 8
|
|
new-array v3, v1, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-interface {p1, v3}, Ljava/nio/file/Path;->toRealPath([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
|
|
|
|
move-result-object v3
|
|
|
|
new-array v1, v1, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-interface {p0, v1}, Ljava/nio/file/Path;->toRealPath([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v3, v1}, Ljava/nio/file/Path;->startsWith(Ljava/nio/file/Path;)Z
|
|
|
|
move-result v1
|
|
|
|
goto :goto_1
|
|
|
|
.line 9
|
|
:cond_4
|
|
invoke-interface {p1}, Ljava/nio/file/Path;->getParent()Ljava/nio/file/Path;
|
|
|
|
move-result-object v3
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
new-array v7, v1, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-static {v7, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-static {v3, v7}, Ljava/nio/file/Files;->exists(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_5
|
|
|
|
new-array v7, v1, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-interface {v3, v7}, Ljava/nio/file/Path;->toRealPath([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
|
|
|
|
move-result-object v3
|
|
|
|
new-array v7, v1, [Ljava/nio/file/LinkOption;
|
|
|
|
invoke-interface {p0, v7}, Ljava/nio/file/Path;->toRealPath([Ljava/nio/file/LinkOption;)Ljava/nio/file/Path;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-interface {v3, v7}, Ljava/nio/file/Path;->startsWith(Ljava/nio/file/Path;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
move v1, v5
|
|
|
|
:cond_5
|
|
:goto_1
|
|
if-nez v1, :cond_6
|
|
|
|
goto :goto_2
|
|
|
|
.line 10
|
|
:cond_6
|
|
new-instance v1, Ljava/nio/file/FileSystemException;
|
|
|
|
.line 11
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 12
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 13
|
|
new-instance v2, Ljava/nio/file/FileSystemException;
|
|
|
|
const-string v3, "Recursively copying a directory into its subdirectory is prohibited."
|
|
|
|
invoke-direct {v2, v0, v1, v3}, Ljava/nio/file/FileSystemException;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
|
|
.line 14
|
|
:cond_7
|
|
:goto_2
|
|
invoke-interface {p1}, Ljava/nio/file/Path;->normalize()Ljava/nio/file/Path;
|
|
|
|
move-result-object v5
|
|
|
|
.line 15
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
.line 16
|
|
new-instance v3, Lkotlin/io/path/c;
|
|
|
|
move-object v4, p1
|
|
|
|
move-object v6, p2
|
|
|
|
move-object v2, p4
|
|
|
|
move-object v0, v3
|
|
|
|
move-object v3, p0
|
|
|
|
invoke-direct/range {v0 .. v6}, Lkotlin/io/path/c;-><init>(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;)V
|
|
|
|
const/4 v4, 0x1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
move v2, p3
|
|
|
|
move-object v3, v0
|
|
|
|
move-object v0, p0
|
|
|
|
invoke-static/range {v0 .. v5}, Lkotlin/io/path/PathsKt__PathUtilsKt;->visitFileTree$default(Ljava/nio/file/Path;IZLkotlin/jvm/functions/Function1;ILjava/lang/Object;)V
|
|
|
|
return-object p1
|
|
|
|
.line 17
|
|
:cond_8
|
|
new-instance v0, Ljava/nio/file/NoSuchFileException;
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Ljava/nio/file/NoSuchFileException;
|
|
|
|
const-string v3, "The source file doesn\'t exist."
|
|
|
|
invoke-direct {v2, v0, v1, v3}, Ljava/nio/file/NoSuchFileException;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
throw v2
|
|
.end method
|
|
|
|
.method public static final copyToRecursively(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;ZZ)Ljava/nio/file/Path;
|
|
.locals 7
|
|
.param p0 # Ljava/nio/file/Path;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p1 # Ljava/nio/file/Path;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.param p2 # Lkotlin/jvm/functions/Function3;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/Path;",
|
|
"Lkotlin/jvm/functions/Function3<",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/lang/Exception;",
|
|
"+",
|
|
"Lkotlin/io/path/OnErrorResult;",
|
|
">;ZZ)",
|
|
"Ljava/nio/file/Path;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.8"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/io/path/ExperimentalPathApi;
|
|
.end annotation
|
|
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "target"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "onError"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-eqz p4, :cond_0
|
|
|
|
.line 1
|
|
new-instance p4, Lkotlin/io/path/b;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
invoke-direct {p4, p3, v0}, Lkotlin/io/path/b;-><init>(ZI)V
|
|
|
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;ZLkotlin/jvm/functions/Function3;)Ljava/nio/file/Path;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
const/16 v5, 0x8
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v2, p2
|
|
|
|
move v3, p3
|
|
|
|
.line 2
|
|
invoke-static/range {v0 .. v6}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$default(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;ZLkotlin/jvm/functions/Function3;ILjava/lang/Object;)Ljava/nio/file/Path;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final copyToRecursively$copy$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/ArrayList<",
|
|
"Ljava/nio/file/Path;",
|
|
">;",
|
|
"Lkotlin/jvm/functions/Function3<",
|
|
"-",
|
|
"Lkotlin/io/path/CopyActionContext;",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"+",
|
|
"Lkotlin/io/path/CopyActionResult;",
|
|
">;",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/Path;",
|
|
"Lkotlin/jvm/functions/Function3<",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/lang/Exception;",
|
|
"+",
|
|
"Lkotlin/io/path/OnErrorResult;",
|
|
">;",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/attribute/BasicFileAttributes;",
|
|
")",
|
|
"Ljava/nio/file/FileVisitResult;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result p7
|
|
|
|
.line 5
|
|
if-nez p7, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
invoke-static {p6}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->checkFileName(Ljava/nio/file/Path;)V
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->last(Ljava/util/List;)Ljava/lang/Object;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object p0
|
|
|
|
.line 14
|
|
const-string p7, "last(...)"
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-static {p0, p7}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
invoke-static {p0}, Lcom/google/common/io/a;->a(Ljava/lang/Object;)Ljava/nio/file/Path;
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result-object p0
|
|
|
|
.line 23
|
|
invoke-static {p6, p0}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->checkNotSameAs$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
goto :goto_0
|
|
|
|
.line 27
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 28
|
|
move-object p0, v0
|
|
|
|
.line 29
|
|
move-object p1, p5
|
|
|
|
.line 30
|
|
move-object p5, p6
|
|
|
|
.line 31
|
|
move-object p6, p0
|
|
|
|
.line 32
|
|
goto :goto_1
|
|
|
|
.line 33
|
|
:cond_0
|
|
:goto_0
|
|
sget-object p0, Lkotlin/io/path/DefaultCopyActionContext;->INSTANCE:Lkotlin/io/path/DefaultCopyActionContext;
|
|
|
|
.line 34
|
|
.line 35
|
|
invoke-static {p2, p3, p4, p6}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$destination$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
move-result-object p7
|
|
|
|
.line 39
|
|
invoke-interface {p1, p0, p6, p7}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
move-result-object p0
|
|
|
|
.line 43
|
|
check-cast p0, Lkotlin/io/path/CopyActionResult;
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-static {p0}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->toFileVisitResult$PathsKt__PathRecursiveFunctionsKt(Lkotlin/io/path/CopyActionResult;)Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 49
|
|
return-object p0
|
|
|
|
.line 50
|
|
:goto_1
|
|
invoke-static/range {p1 .. p6}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$error$PathsKt__PathRecursiveFunctionsKt(Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/Exception;)Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result-object p0
|
|
|
|
.line 54
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic copyToRecursively$default(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;ZLkotlin/jvm/functions/Function3;ILjava/lang/Object;)Ljava/nio/file/Path;
|
|
.locals 0
|
|
|
|
and-int/lit8 p6, p5, 0x2
|
|
|
|
if-eqz p6, :cond_0
|
|
|
|
.line 3
|
|
sget-object p2, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$copyToRecursively$3;->INSTANCE:Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$copyToRecursively$3;
|
|
|
|
:cond_0
|
|
and-int/lit8 p5, p5, 0x8
|
|
|
|
if-eqz p5, :cond_1
|
|
|
|
.line 4
|
|
new-instance p4, Lkotlin/io/path/b;
|
|
|
|
const/4 p5, 0x1
|
|
|
|
invoke-direct {p4, p3, p5}, Lkotlin/io/path/b;-><init>(ZI)V
|
|
|
|
.line 5
|
|
:cond_1
|
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;ZLkotlin/jvm/functions/Function3;)Ljava/nio/file/Path;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic copyToRecursively$default(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;ZZILjava/lang/Object;)Ljava/nio/file/Path;
|
|
.locals 0
|
|
|
|
and-int/lit8 p5, p5, 0x2
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
.line 1
|
|
sget-object p2, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$copyToRecursively$1;->INSTANCE:Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$copyToRecursively$1;
|
|
|
|
.line 2
|
|
:cond_0
|
|
invoke-static {p0, p1, p2, p3, p4}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;ZZ)Ljava/nio/file/Path;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final copyToRecursively$destination$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p3, p0}, Lkotlin/io/path/PathsKt__PathUtilsKt;->relativeTo(Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p0
|
|
|
|
.line 5
|
|
invoke-virtual {p0}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object p0
|
|
|
|
.line 9
|
|
invoke-interface {p1, p0}, Ljava/nio/file/Path;->resolve(Ljava/lang/String;)Ljava/nio/file/Path;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object p0
|
|
|
|
.line 13
|
|
invoke-interface {p0}, Ljava/nio/file/Path;->normalize()Ljava/nio/file/Path;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-object p1
|
|
|
|
.line 17
|
|
invoke-interface {p1, p2}, Ljava/nio/file/Path;->startsWith(Ljava/nio/file/Path;)Z
|
|
|
|
.line 18
|
|
.line 19
|
|
.line 20
|
|
move-result p1
|
|
|
|
.line 21
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 22
|
|
.line 23
|
|
invoke-static {p0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 24
|
|
.line 25
|
|
.line 26
|
|
return-object p0
|
|
|
|
.line 27
|
|
:cond_0
|
|
new-instance p1, Lkotlin/io/path/IllegalFileNameException;
|
|
|
|
.line 28
|
|
.line 29
|
|
const-string p2, "Copying files to outside the specified target directory is prohibited. The directory being recursively copied might contain an entry with an illegal name."
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-direct {p1, p3, p0, p2}, Lkotlin/io/path/IllegalFileNameException;-><init>(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/String;)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
throw p1
|
|
.end method
|
|
|
|
.method private static final copyToRecursively$error$PathsKt__PathRecursiveFunctionsKt(Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/Exception;)Ljava/nio/file/FileVisitResult;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lkotlin/jvm/functions/Function3<",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/nio/file/Path;",
|
|
"-",
|
|
"Ljava/lang/Exception;",
|
|
"+",
|
|
"Lkotlin/io/path/OnErrorResult;",
|
|
">;",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/lang/Exception;",
|
|
")",
|
|
"Ljava/nio/file/FileVisitResult;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {p1, p2, p3, p4}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$destination$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)Ljava/nio/file/Path;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
invoke-interface {p0, p4, p1, p5}, Lkotlin/jvm/functions/Function3;->invoke(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object p0
|
|
|
|
.line 9
|
|
check-cast p0, Lkotlin/io/path/OnErrorResult;
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {p0}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->toFileVisitResult$PathsKt__PathRecursiveFunctionsKt(Lkotlin/io/path/OnErrorResult;)Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p0
|
|
|
|
.line 15
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final copyToRecursively$lambda$0$PathsKt__PathRecursiveFunctionsKt(ZLkotlin/io/path/CopyActionContext;Ljava/nio/file/Path;Ljava/nio/file/Path;)Lkotlin/io/path/CopyActionResult;
|
|
.locals 3
|
|
|
|
.line 1
|
|
const-string v0, "$this$copyToRecursively"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string p1, "src"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p2, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const-string p1, "dst"
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-static {p3, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
sget-object p1, Lkotlin/io/path/LinkFollowing;->INSTANCE:Lkotlin/io/path/LinkFollowing;
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {p1, p0}, Lkotlin/io/path/LinkFollowing;->toLinkOptions(Z)[Ljava/nio/file/LinkOption;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
move-result-object p0
|
|
|
|
.line 22
|
|
const/4 p1, 0x1
|
|
|
|
.line 23
|
|
new-array v0, p1, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 24
|
|
.line 25
|
|
const/4 v1, 0x0
|
|
|
|
.line 26
|
|
invoke-static {}, Lcom/google/common/net/a;->f()Ljava/nio/file/LinkOption;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
move-result-object v2
|
|
|
|
.line 30
|
|
aput-object v2, v0, v1
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-static {v0, p1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result-object p1
|
|
|
|
.line 36
|
|
check-cast p1, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-static {p3, p1}, Ljava/nio/file/Files;->isDirectory(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result p1
|
|
|
|
.line 42
|
|
array-length v0, p0
|
|
|
|
.line 43
|
|
invoke-static {p0, v0}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 44
|
|
.line 45
|
|
.line 46
|
|
move-result-object v0
|
|
|
|
.line 47
|
|
check-cast v0, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 48
|
|
.line 49
|
|
array-length v1, v0
|
|
|
|
.line 50
|
|
invoke-static {v0, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
move-result-object v0
|
|
|
|
.line 54
|
|
check-cast v0, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 55
|
|
.line 56
|
|
invoke-static {p2, v0}, Ljava/nio/file/Files;->isDirectory(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
move-result v0
|
|
|
|
.line 60
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 61
|
|
.line 62
|
|
if-nez p1, :cond_2
|
|
|
|
.line 63
|
|
.line 64
|
|
:cond_0
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 65
|
|
.line 66
|
|
invoke-static {p3}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->deleteRecursively(Ljava/nio/file/Path;)V
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
:cond_1
|
|
new-instance p1, Lkotlin/jvm/internal/SpreadBuilder;
|
|
|
|
.line 70
|
|
.line 71
|
|
const/4 v0, 0x2
|
|
|
|
.line 72
|
|
invoke-direct {p1, v0}, Lkotlin/jvm/internal/SpreadBuilder;-><init>(I)V
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
invoke-virtual {p1, p0}, Lkotlin/jvm/internal/SpreadBuilder;->addSpread(Ljava/lang/Object;)V
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
invoke-static {}, Lcom/google/common/net/a;->g()Ljava/nio/file/StandardCopyOption;
|
|
|
|
.line 79
|
|
.line 80
|
|
.line 81
|
|
move-result-object p0
|
|
|
|
.line 82
|
|
invoke-virtual {p1, p0}, Lkotlin/jvm/internal/SpreadBuilder;->add(Ljava/lang/Object;)V
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
invoke-virtual {p1}, Lkotlin/jvm/internal/SpreadBuilder;->size()I
|
|
|
|
.line 86
|
|
.line 87
|
|
.line 88
|
|
move-result p0
|
|
|
|
.line 89
|
|
new-array p0, p0, [Ljava/nio/file/CopyOption;
|
|
|
|
.line 90
|
|
.line 91
|
|
invoke-virtual {p1, p0}, Lkotlin/jvm/internal/SpreadBuilder;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
.line 92
|
|
.line 93
|
|
.line 94
|
|
move-result-object p0
|
|
|
|
.line 95
|
|
check-cast p0, [Ljava/nio/file/CopyOption;
|
|
|
|
.line 96
|
|
.line 97
|
|
array-length p1, p0
|
|
|
|
.line 98
|
|
invoke-static {p0, p1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 99
|
|
.line 100
|
|
.line 101
|
|
move-result-object p0
|
|
|
|
.line 102
|
|
check-cast p0, [Ljava/nio/file/CopyOption;
|
|
|
|
.line 103
|
|
.line 104
|
|
invoke-static {p2, p3, p0}, Ljava/nio/file/Files;->copy(Ljava/nio/file/Path;Ljava/nio/file/Path;[Ljava/nio/file/CopyOption;)Ljava/nio/file/Path;
|
|
|
|
.line 105
|
|
.line 106
|
|
.line 107
|
|
move-result-object p0
|
|
|
|
.line 108
|
|
const-string p1, "copy(...)"
|
|
|
|
.line 109
|
|
.line 110
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 111
|
|
.line 112
|
|
.line 113
|
|
:cond_2
|
|
sget-object p0, Lkotlin/io/path/CopyActionResult;->CONTINUE:Lkotlin/io/path/CopyActionResult;
|
|
|
|
.line 114
|
|
.line 115
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final copyToRecursively$lambda$1$PathsKt__PathRecursiveFunctionsKt(ZLkotlin/io/path/CopyActionContext;Ljava/nio/file/Path;Ljava/nio/file/Path;)Lkotlin/io/path/CopyActionResult;
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "src"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const-string v0, "dst"
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
invoke-interface {p1, p2, p3, p0}, Lkotlin/io/path/CopyActionContext;->copyToIgnoringExistingDirectory(Ljava/nio/file/Path;Ljava/nio/file/Path;Z)Lkotlin/io/path/CopyActionResult;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object p0
|
|
|
|
.line 20
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final copyToRecursively$lambda$3$0$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "directory"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p6, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "attributes"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p7, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
invoke-static/range {p0 .. p7}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$copy$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p1
|
|
|
|
.line 15
|
|
invoke-static {}, Lcom/google/common/net/a;->k()Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object p2
|
|
|
|
.line 19
|
|
if-ne p1, p2, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {p0, p6}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
:cond_0
|
|
return-object p1
|
|
.end method
|
|
|
|
.method private static final copyToRecursively$lambda$3$1$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/io/IOException;)Ljava/nio/file/FileVisitResult;
|
|
.locals 1
|
|
|
|
.line 1
|
|
const-string v0, "directory"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p5, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p0}, Lkotlin/collections/CollectionsKt;->removeLast(Ljava/util/List;)Ljava/lang/Object;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
if-nez p6, :cond_0
|
|
|
|
.line 10
|
|
.line 11
|
|
invoke-static {}, Lcom/google/common/net/a;->k()Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 12
|
|
.line 13
|
|
.line 14
|
|
move-result-object p0
|
|
|
|
.line 15
|
|
return-object p0
|
|
|
|
.line 16
|
|
:cond_0
|
|
invoke-static/range {p1 .. p6}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$error$PathsKt__PathRecursiveFunctionsKt(Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/Exception;)Ljava/nio/file/FileVisitResult;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object p0
|
|
|
|
.line 20
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final copyToRecursively$lambda$3$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Lkotlin/io/path/FileVisitorBuilder;)Lkotlin/Unit;
|
|
.locals 9
|
|
|
|
.line 1
|
|
const-string v0, "$this$visitFileTree"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p6, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
new-instance v1, Lkotlin/io/path/d;
|
|
|
|
.line 7
|
|
.line 8
|
|
move-object v2, p0
|
|
|
|
.line 9
|
|
move-object v3, p1
|
|
|
|
.line 10
|
|
move-object v4, p2
|
|
|
|
.line 11
|
|
move-object v5, p3
|
|
|
|
.line 12
|
|
move-object v6, p4
|
|
|
|
.line 13
|
|
move-object v7, p5
|
|
|
|
.line 14
|
|
invoke-direct/range {v1 .. v7}, Lkotlin/io/path/d;-><init>(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;)V
|
|
|
|
.line 15
|
|
.line 16
|
|
.line 17
|
|
move-object p1, v2
|
|
|
|
.line 18
|
|
move-object p3, v4
|
|
|
|
.line 19
|
|
move-object p4, v5
|
|
|
|
.line 20
|
|
move-object p5, v6
|
|
|
|
.line 21
|
|
move-object p2, v7
|
|
|
|
.line 22
|
|
invoke-interface {p6, v1}, Lkotlin/io/path/FileVisitorBuilder;->onPreVisitDirectory(Lkotlin/jvm/functions/Function2;)V
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
new-instance v2, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$copyToRecursively$5$2;
|
|
|
|
.line 26
|
|
.line 27
|
|
move-object v8, p2
|
|
|
|
.line 28
|
|
move-object v5, p3
|
|
|
|
.line 29
|
|
move-object v6, p4
|
|
|
|
.line 30
|
|
move-object v7, p5
|
|
|
|
.line 31
|
|
move-object v4, v3
|
|
|
|
.line 32
|
|
move-object v3, p1
|
|
|
|
.line 33
|
|
invoke-direct/range {v2 .. v8}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$copyToRecursively$5$2;-><init>(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;)V
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
invoke-interface {p6, v2}, Lkotlin/io/path/FileVisitorBuilder;->onVisitFile(Lkotlin/jvm/functions/Function2;)V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
new-instance p0, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$copyToRecursively$5$3;
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-direct {p0, p2, p3, p4, p5}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$copyToRecursively$5$3;-><init>(Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
invoke-interface {p6, p0}, Lkotlin/io/path/FileVisitorBuilder;->onVisitFileFailed(Lkotlin/jvm/functions/Function2;)V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
new-instance p0, Lkotlin/io/path/e;
|
|
|
|
.line 48
|
|
.line 49
|
|
invoke-direct/range {p0 .. p5}, Lkotlin/io/path/e;-><init>(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;)V
|
|
|
|
.line 50
|
|
.line 51
|
|
.line 52
|
|
invoke-interface {p6, p0}, Lkotlin/io/path/FileVisitorBuilder;->onPostVisitDirectory(Lkotlin/jvm/functions/Function2;)V
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
|
|
.line 56
|
|
.line 57
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic d(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static/range {p0 .. p7}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$lambda$3$0$PathsKt__PathRecursiveFunctionsKt(Ljava/util/ArrayList;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/jvm/functions/Function3;Ljava/nio/file/Path;Ljava/nio/file/attribute/BasicFileAttributes;)Ljava/nio/file/FileVisitResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final deleteRecursively(Ljava/nio/file/Path;)V
|
|
.locals 2
|
|
.param p0 # Ljava/nio/file/Path;
|
|
.annotation build Lorg/jetbrains/annotations/NotNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Lkotlin/SinceKotlin;
|
|
version = "1.8"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/io/path/ExperimentalPathApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
const-string v0, "<this>"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p0}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->deleteRecursivelyImpl$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;)Ljava/util/List;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object p0
|
|
|
|
.line 10
|
|
invoke-interface {p0}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result v0
|
|
|
|
.line 14
|
|
if-nez v0, :cond_1
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-static {}, Lkotlin/io/path/a;->a()Ljava/nio/file/FileSystemException;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object v0
|
|
|
|
.line 20
|
|
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result-object p0
|
|
|
|
.line 24
|
|
:goto_0
|
|
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result v1
|
|
|
|
.line 28
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
move-result-object v1
|
|
|
|
.line 34
|
|
check-cast v1, Ljava/lang/Exception;
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-static {v0, v1}, Lkotlin/ExceptionsKt;->addSuppressed(Ljava/lang/Throwable;Ljava/lang/Throwable;)V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
goto :goto_0
|
|
|
|
.line 40
|
|
:cond_0
|
|
throw v0
|
|
|
|
.line 41
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final deleteRecursivelyImpl$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;)Ljava/util/List;
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/nio/file/Path;",
|
|
")",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/Exception;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Lkotlin/io/path/ExceptionsCollector;
|
|
|
|
.line 2
|
|
.line 3
|
|
const/4 v1, 0x0
|
|
|
|
.line 4
|
|
const/4 v2, 0x1
|
|
|
|
.line 5
|
|
const/4 v3, 0x0
|
|
|
|
.line 6
|
|
invoke-direct {v0, v1, v2, v3}, Lkotlin/io/path/ExceptionsCollector;-><init>(IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
invoke-interface {p0}, Ljava/nio/file/Path;->getFileName()Ljava/nio/file/Path;
|
|
|
|
.line 10
|
|
.line 11
|
|
.line 12
|
|
move-result-object v4
|
|
|
|
.line 13
|
|
if-eqz v4, :cond_2
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-interface {p0}, Ljava/nio/file/Path;->getParent()Ljava/nio/file/Path;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v5
|
|
|
|
.line 19
|
|
if-nez v5, :cond_0
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-interface {p0}, Ljava/nio/file/Path;->getFileSystem()Ljava/nio/file/FileSystem;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result-object v5
|
|
|
|
.line 25
|
|
const-string v6, ""
|
|
|
|
.line 26
|
|
.line 27
|
|
new-array v7, v1, [Ljava/lang/String;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {v5, v6, v7}, Ljava/nio/file/FileSystem;->getPath(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v5
|
|
|
|
.line 33
|
|
:cond_0
|
|
:try_start_0
|
|
invoke-static {v5}, Ljava/nio/file/Files;->newDirectoryStream(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result-object v6
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 37
|
|
goto :goto_0
|
|
|
|
.line 38
|
|
:catchall_0
|
|
move-object v6, v3
|
|
|
|
.line 39
|
|
:goto_0
|
|
if-eqz v6, :cond_2
|
|
|
|
.line 40
|
|
.line 41
|
|
:try_start_1
|
|
instance-of v7, v6, Ljava/nio/file/SecureDirectoryStream;
|
|
|
|
.line 42
|
|
.line 43
|
|
if-eqz v7, :cond_1
|
|
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {v0, v5}, Lkotlin/io/path/ExceptionsCollector;->setPath(Ljava/nio/file/Path;)V
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-object v2, v6
|
|
|
|
.line 49
|
|
check-cast v2, Ljava/nio/file/SecureDirectoryStream;
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-static {v2, v4, v3, v0}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->handleEntry$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/SecureDirectoryStream;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
goto :goto_1
|
|
|
|
.line 55
|
|
:catchall_1
|
|
move-exception p0
|
|
|
|
.line 56
|
|
goto :goto_2
|
|
|
|
.line 57
|
|
:cond_1
|
|
move v1, v2
|
|
|
|
.line 58
|
|
:goto_1
|
|
sget-object v2, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
.line 59
|
|
.line 60
|
|
invoke-static {v6, v3}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
.line 61
|
|
.line 62
|
|
.line 63
|
|
move v2, v1
|
|
|
|
.line 64
|
|
goto :goto_3
|
|
|
|
.line 65
|
|
:goto_2
|
|
:try_start_2
|
|
throw p0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_2
|
|
|
|
.line 66
|
|
:catchall_2
|
|
move-exception v0
|
|
|
|
.line 67
|
|
invoke-static {v6, p0}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
throw v0
|
|
|
|
.line 71
|
|
:cond_2
|
|
:goto_3
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 72
|
|
.line 73
|
|
invoke-static {p0, v3, v0}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->insecureHandleEntry$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
|
|
.line 74
|
|
.line 75
|
|
.line 76
|
|
:cond_3
|
|
invoke-virtual {v0}, Lkotlin/io/path/ExceptionsCollector;->getCollectedExceptions()Ljava/util/List;
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
move-result-object p0
|
|
|
|
.line 80
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic e(ZLkotlin/io/path/CopyActionContext;Ljava/nio/file/Path;Ljava/nio/file/Path;)Lkotlin/io/path/CopyActionResult;
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-static {p0, p1, p2, p3}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->copyToRecursively$lambda$0$PathsKt__PathRecursiveFunctionsKt(ZLkotlin/io/path/CopyActionContext;Ljava/nio/file/Path;Ljava/nio/file/Path;)Lkotlin/io/path/CopyActionResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final enterDirectory$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/SecureDirectoryStream;Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/nio/file/SecureDirectoryStream<",
|
|
"Ljava/nio/file/Path;",
|
|
">;",
|
|
"Ljava/nio/file/Path;",
|
|
"Lkotlin/io/path/ExceptionsCollector;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
const/4 v0, 0x1
|
|
|
|
.line 2
|
|
const/4 v1, 0x0
|
|
|
|
.line 3
|
|
:try_start_0
|
|
new-array v0, v0, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 4
|
|
.line 5
|
|
invoke-static {}, Lcom/google/common/net/a;->f()Ljava/nio/file/LinkOption;
|
|
|
|
.line 6
|
|
.line 7
|
|
.line 8
|
|
move-result-object v2
|
|
|
|
.line 9
|
|
const/4 v3, 0x0
|
|
|
|
.line 10
|
|
aput-object v2, v0, v3
|
|
|
|
.line 11
|
|
.line 12
|
|
invoke-interface {p0, p1, v0}, Ljava/nio/file/SecureDirectoryStream;->newDirectoryStream(Ljava/lang/Object;[Ljava/nio/file/LinkOption;)Ljava/nio/file/SecureDirectoryStream;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/nio/file/NoSuchFileException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 16
|
|
goto :goto_0
|
|
|
|
.line 17
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 18
|
|
goto :goto_3
|
|
|
|
.line 19
|
|
:catch_1
|
|
move-object p0, v1
|
|
|
|
.line 20
|
|
:goto_0
|
|
if-eqz p0, :cond_1
|
|
|
|
.line 21
|
|
.line 22
|
|
:try_start_1
|
|
invoke-interface {p0}, Ljava/nio/file/SecureDirectoryStream;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result-object p1
|
|
|
|
.line 26
|
|
const-string v0, "iterator(...)"
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
:goto_1
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result v0
|
|
|
|
.line 35
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 36
|
|
.line 37
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 38
|
|
.line 39
|
|
.line 40
|
|
move-result-object v0
|
|
|
|
.line 41
|
|
invoke-static {v0}, Lcom/google/common/io/a;->a(Ljava/lang/Object;)Ljava/nio/file/Path;
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object v0
|
|
|
|
.line 45
|
|
invoke-interface {v0}, Ljava/nio/file/Path;->getFileName()Ljava/nio/file/Path;
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result-object v0
|
|
|
|
.line 49
|
|
const-string v2, "getFileName(...)"
|
|
|
|
.line 50
|
|
.line 51
|
|
invoke-static {v0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
invoke-virtual {p2}, Lkotlin/io/path/ExceptionsCollector;->getPath()Ljava/nio/file/Path;
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
move-result-object v2
|
|
|
|
.line 58
|
|
invoke-static {p0, v0, v2, p2}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->handleEntry$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/SecureDirectoryStream;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
|
|
.line 59
|
|
.line 60
|
|
.line 61
|
|
goto :goto_1
|
|
|
|
.line 62
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 63
|
|
goto :goto_2
|
|
|
|
.line 64
|
|
:cond_0
|
|
sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 65
|
|
.line 66
|
|
:try_start_2
|
|
invoke-static {p0, v1}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
:try_end_2
|
|
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
goto :goto_4
|
|
|
|
.line 70
|
|
:goto_2
|
|
:try_start_3
|
|
throw p1
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
.line 71
|
|
:catchall_1
|
|
move-exception v0
|
|
|
|
.line 72
|
|
:try_start_4
|
|
invoke-static {p0, p1}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
throw v0
|
|
:try_end_4
|
|
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0
|
|
|
|
.line 76
|
|
:goto_3
|
|
invoke-virtual {p2, p0}, Lkotlin/io/path/ExceptionsCollector;->collect(Ljava/lang/Exception;)V
|
|
|
|
.line 77
|
|
.line 78
|
|
.line 79
|
|
:cond_1
|
|
:goto_4
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final handleEntry$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/SecureDirectoryStream;Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/nio/file/SecureDirectoryStream<",
|
|
"Ljava/nio/file/Path;",
|
|
">;",
|
|
"Ljava/nio/file/Path;",
|
|
"Ljava/nio/file/Path;",
|
|
"Lkotlin/io/path/ExceptionsCollector;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-virtual {p3, p1}, Lkotlin/io/path/ExceptionsCollector;->enterEntry(Ljava/nio/file/Path;)V
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 5
|
|
.line 6
|
|
:try_start_0
|
|
invoke-virtual {p3}, Lkotlin/io/path/ExceptionsCollector;->getPath()Ljava/nio/file/Path;
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
move-result-object v0
|
|
|
|
.line 10
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
invoke-static {v0}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->checkFileName(Ljava/nio/file/Path;)V
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
invoke-static {v0, p2}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->checkNotSameAs$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
goto :goto_0
|
|
|
|
.line 20
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 21
|
|
goto :goto_1
|
|
|
|
.line 22
|
|
:cond_0
|
|
:goto_0
|
|
const/4 p2, 0x1
|
|
|
|
.line 23
|
|
new-array p2, p2, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 24
|
|
.line 25
|
|
invoke-static {}, Lcom/google/common/net/a;->f()Ljava/nio/file/LinkOption;
|
|
|
|
.line 26
|
|
.line 27
|
|
.line 28
|
|
move-result-object v0
|
|
|
|
.line 29
|
|
const/4 v1, 0x0
|
|
|
|
.line 30
|
|
aput-object v0, p2, v1
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-static {p0, p1, p2}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->isDirectory$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/SecureDirectoryStream;Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result p2
|
|
|
|
.line 36
|
|
if-eqz p2, :cond_1
|
|
|
|
.line 37
|
|
.line 38
|
|
invoke-virtual {p3}, Lkotlin/io/path/ExceptionsCollector;->getTotalExceptions()I
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
move-result p2
|
|
|
|
.line 42
|
|
invoke-static {p0, p1, p3}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->enterDirectory$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/SecureDirectoryStream;Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
invoke-virtual {p3}, Lkotlin/io/path/ExceptionsCollector;->getTotalExceptions()I
|
|
|
|
.line 46
|
|
.line 47
|
|
.line 48
|
|
move-result v0
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 49
|
|
if-ne p2, v0, :cond_2
|
|
|
|
.line 50
|
|
.line 51
|
|
:try_start_1
|
|
invoke-interface {p0, p1}, Ljava/nio/file/SecureDirectoryStream;->deleteDirectory(Ljava/lang/Object;)V
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
|
|
.line 55
|
|
.line 56
|
|
goto :goto_2
|
|
|
|
.line 57
|
|
:cond_1
|
|
invoke-interface {p0, p1}, Ljava/nio/file/SecureDirectoryStream;->deleteFile(Ljava/lang/Object;)V
|
|
|
|
.line 58
|
|
.line 59
|
|
.line 60
|
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_1
|
|
.catch Ljava/nio/file/NoSuchFileException; {:try_start_1 .. :try_end_1} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
.line 61
|
|
.line 62
|
|
goto :goto_2
|
|
|
|
.line 63
|
|
:goto_1
|
|
invoke-virtual {p3, p0}, Lkotlin/io/path/ExceptionsCollector;->collect(Ljava/lang/Exception;)V
|
|
|
|
.line 64
|
|
.line 65
|
|
.line 66
|
|
:catch_1
|
|
:cond_2
|
|
:goto_2
|
|
invoke-virtual {p3, p1}, Lkotlin/io/path/ExceptionsCollector;->exitEntry(Ljava/nio/file/Path;)V
|
|
|
|
.line 67
|
|
.line 68
|
|
.line 69
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final insecureEnterDirectory$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
const/4 v0, 0x0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
invoke-static {p0}, Ljava/nio/file/Files;->newDirectoryStream(Ljava/nio/file/Path;)Ljava/nio/file/DirectoryStream;
|
|
|
|
.line 3
|
|
.line 4
|
|
.line 5
|
|
move-result-object v1
|
|
:try_end_0
|
|
.catch Ljava/nio/file/NoSuchFileException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 6
|
|
goto :goto_0
|
|
|
|
.line 7
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 8
|
|
goto :goto_3
|
|
|
|
.line 9
|
|
:catch_1
|
|
move-object v1, v0
|
|
|
|
.line 10
|
|
:goto_0
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 11
|
|
.line 12
|
|
:try_start_1
|
|
invoke-interface {v1}, Ljava/nio/file/DirectoryStream;->iterator()Ljava/util/Iterator;
|
|
|
|
.line 13
|
|
.line 14
|
|
.line 15
|
|
move-result-object v2
|
|
|
|
.line 16
|
|
const-string v3, "iterator(...)"
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-static {v2, v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
:goto_1
|
|
invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
move-result v3
|
|
|
|
.line 25
|
|
if-eqz v3, :cond_0
|
|
|
|
.line 26
|
|
.line 27
|
|
invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
.line 28
|
|
.line 29
|
|
.line 30
|
|
move-result-object v3
|
|
|
|
.line 31
|
|
invoke-static {v3}, Lcom/google/common/io/a;->a(Ljava/lang/Object;)Ljava/nio/file/Path;
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
move-result-object v3
|
|
|
|
.line 35
|
|
invoke-static {v3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
.line 36
|
|
.line 37
|
|
.line 38
|
|
invoke-static {v3, p0, p1}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->insecureHandleEntry$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
goto :goto_1
|
|
|
|
.line 42
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
.line 43
|
|
goto :goto_2
|
|
|
|
.line 44
|
|
:cond_0
|
|
sget-object p0, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 45
|
|
.line 46
|
|
:try_start_2
|
|
invoke-static {v1, v0}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
:try_end_2
|
|
.catch Ljava/lang/Exception; {:try_start_2 .. :try_end_2} :catch_0
|
|
|
|
.line 47
|
|
.line 48
|
|
.line 49
|
|
goto :goto_4
|
|
|
|
.line 50
|
|
:goto_2
|
|
:try_start_3
|
|
throw p0
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
.line 51
|
|
:catchall_1
|
|
move-exception v0
|
|
|
|
.line 52
|
|
:try_start_4
|
|
invoke-static {v1, p0}, Lkotlin/io/CloseableKt;->closeFinally(Ljava/io/Closeable;Ljava/lang/Throwable;)V
|
|
|
|
.line 53
|
|
.line 54
|
|
.line 55
|
|
throw v0
|
|
:try_end_4
|
|
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_0
|
|
|
|
.line 56
|
|
:goto_3
|
|
invoke-virtual {p1, p0}, Lkotlin/io/path/ExceptionsCollector;->collect(Ljava/lang/Exception;)V
|
|
|
|
.line 57
|
|
.line 58
|
|
.line 59
|
|
:cond_1
|
|
:goto_4
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final insecureHandleEntry$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2
|
|
.line 3
|
|
:try_start_0
|
|
invoke-static {p0}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->checkFileName(Ljava/nio/file/Path;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-static {p0, p1}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->checkNotSameAs$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Ljava/nio/file/Path;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
goto :goto_0
|
|
|
|
.line 10
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 11
|
|
goto :goto_1
|
|
|
|
.line 12
|
|
:cond_0
|
|
:goto_0
|
|
const/4 p1, 0x1
|
|
|
|
.line 13
|
|
new-array v0, p1, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-static {}, Lcom/google/common/net/a;->f()Ljava/nio/file/LinkOption;
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
move-result-object v1
|
|
|
|
.line 19
|
|
const/4 v2, 0x0
|
|
|
|
.line 20
|
|
aput-object v1, v0, v2
|
|
|
|
.line 21
|
|
.line 22
|
|
invoke-static {v0, p1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 23
|
|
.line 24
|
|
.line 25
|
|
move-result-object p1
|
|
|
|
.line 26
|
|
check-cast p1, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-static {p0, p1}, Ljava/nio/file/Files;->isDirectory(Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result p1
|
|
|
|
.line 32
|
|
if-eqz p1, :cond_2
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-virtual {p2}, Lkotlin/io/path/ExceptionsCollector;->getTotalExceptions()I
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result p1
|
|
|
|
.line 38
|
|
invoke-static {p0, p2}, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt;->insecureEnterDirectory$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/Path;Lkotlin/io/path/ExceptionsCollector;)V
|
|
|
|
.line 39
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {p2}, Lkotlin/io/path/ExceptionsCollector;->getTotalExceptions()I
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result v0
|
|
|
|
.line 45
|
|
if-ne p1, v0, :cond_1
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-static {p0}, Ljava/nio/file/Files;->deleteIfExists(Ljava/nio/file/Path;)Z
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
:cond_1
|
|
return-void
|
|
|
|
.line 51
|
|
:cond_2
|
|
invoke-static {p0}, Ljava/nio/file/Files;->deleteIfExists(Ljava/nio/file/Path;)Z
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 52
|
|
.line 53
|
|
.line 54
|
|
return-void
|
|
|
|
.line 55
|
|
:goto_1
|
|
invoke-virtual {p2, p0}, Lkotlin/io/path/ExceptionsCollector;->collect(Ljava/lang/Exception;)V
|
|
|
|
.line 56
|
|
.line 57
|
|
.line 58
|
|
return-void
|
|
.end method
|
|
|
|
.method private static final varargs isDirectory$PathsKt__PathRecursiveFunctionsKt(Ljava/nio/file/SecureDirectoryStream;Ljava/nio/file/Path;[Ljava/nio/file/LinkOption;)Z
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/nio/file/SecureDirectoryStream<",
|
|
"Ljava/nio/file/Path;",
|
|
">;",
|
|
"Ljava/nio/file/Path;",
|
|
"[",
|
|
"Ljava/nio/file/LinkOption;",
|
|
")Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
const-class v0, Ljava/nio/file/attribute/BasicFileAttributeView;
|
|
|
|
.line 2
|
|
.line 3
|
|
array-length v1, p2
|
|
|
|
.line 4
|
|
invoke-static {p2, v1}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object p2
|
|
|
|
.line 8
|
|
check-cast p2, [Ljava/nio/file/LinkOption;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-interface {p0, p1, v0, p2}, Ljava/nio/file/SecureDirectoryStream;->getFileAttributeView(Ljava/lang/Object;Ljava/lang/Class;[Ljava/nio/file/LinkOption;)Ljava/nio/file/attribute/FileAttributeView;
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
move-result-object p0
|
|
|
|
.line 14
|
|
check-cast p0, Ljava/nio/file/attribute/BasicFileAttributeView;
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-interface {p0}, Ljava/nio/file/attribute/BasicFileAttributeView;->readAttributes()Ljava/nio/file/attribute/BasicFileAttributes;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
move-result-object p0
|
|
|
|
.line 20
|
|
invoke-interface {p0}, Ljava/nio/file/attribute/BasicFileAttributes;->isDirectory()Z
|
|
|
|
.line 21
|
|
.line 22
|
|
.line 23
|
|
move-result p0
|
|
|
|
.line 24
|
|
invoke-static {p0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/nio/file/NoSuchFileException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 28
|
|
goto :goto_0
|
|
|
|
.line 29
|
|
:catch_0
|
|
const/4 p0, 0x0
|
|
|
|
.line 30
|
|
:goto_0
|
|
if-eqz p0, :cond_0
|
|
|
|
.line 31
|
|
.line 32
|
|
invoke-virtual {p0}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
.line 33
|
|
.line 34
|
|
.line 35
|
|
move-result p0
|
|
|
|
.line 36
|
|
goto :goto_1
|
|
|
|
.line 37
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
.line 38
|
|
:goto_1
|
|
return p0
|
|
.end method
|
|
|
|
.method private static final toFileVisitResult$PathsKt__PathRecursiveFunctionsKt(Lkotlin/io/path/CopyActionResult;)Ljava/nio/file/FileVisitResult;
|
|
.locals 1
|
|
.annotation build Lkotlin/io/path/ExperimentalPathApi;
|
|
.end annotation
|
|
|
|
.line 1
|
|
sget-object v0, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$WhenMappings;->$EnumSwitchMapping$0:[I
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result p0
|
|
|
|
aget p0, v0, p0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, v0, :cond_2
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
const/4 v0, 0x3
|
|
|
|
if-ne p0, v0, :cond_0
|
|
|
|
.line 2
|
|
invoke-static {}, Lcom/google/common/net/a;->d()Ljava/nio/file/FileVisitResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 3
|
|
:cond_0
|
|
new-instance p0, Lkotlin/NoWhenBranchMatchedException;
|
|
|
|
invoke-direct {p0}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
.line 4
|
|
:cond_1
|
|
invoke-static {}, Lcom/google/common/net/a;->i()Ljava/nio/file/FileVisitResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 5
|
|
:cond_2
|
|
invoke-static {}, Lcom/google/common/net/a;->k()Ljava/nio/file/FileVisitResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final toFileVisitResult$PathsKt__PathRecursiveFunctionsKt(Lkotlin/io/path/OnErrorResult;)Ljava/nio/file/FileVisitResult;
|
|
.locals 1
|
|
.annotation build Lkotlin/io/path/ExperimentalPathApi;
|
|
.end annotation
|
|
|
|
.line 6
|
|
sget-object v0, Lkotlin/io/path/PathsKt__PathRecursiveFunctionsKt$WhenMappings;->$EnumSwitchMapping$1:[I
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I
|
|
|
|
move-result p0
|
|
|
|
aget p0, v0, p0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
if-eq p0, v0, :cond_1
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-ne p0, v0, :cond_0
|
|
|
|
.line 7
|
|
invoke-static {}, Lcom/google/common/net/a;->d()Ljava/nio/file/FileVisitResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
.line 8
|
|
:cond_0
|
|
new-instance p0, Lkotlin/NoWhenBranchMatchedException;
|
|
|
|
invoke-direct {p0}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
|
|
|
|
throw p0
|
|
|
|
.line 9
|
|
:cond_1
|
|
invoke-static {}, Lcom/google/common/net/a;->i()Ljava/nio/file/FileVisitResult;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method private static final tryIgnoreNoSuchFileException$PathsKt__PathRecursiveFunctionsKt(Lkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<R:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Lkotlin/jvm/functions/Function0<",
|
|
"+TR;>;)TR;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
invoke-interface {p0}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
.line 2
|
|
.line 3
|
|
.line 4
|
|
move-result-object p0
|
|
:try_end_0
|
|
.catch Ljava/nio/file/NoSuchFileException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 5
|
|
return-object p0
|
|
|
|
.line 6
|
|
:catch_0
|
|
const/4 p0, 0x0
|
|
|
|
.line 7
|
|
return-object p0
|
|
.end method
|