mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 08:32:38 -06:00
35 lines
1.9 KiB
Java
35 lines
1.9 KiB
Java
package kotlin.io;
|
|
|
|
import androidx.constraintlayout.widget.ConstraintLayout;
|
|
import java.io.File;
|
|
import kotlin.Metadata;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* compiled from: FileTreeWalk.kt */
|
|
@Metadata(d1 = {"\u0000\u0014\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0003\u001a\u0014\u0010\u0000\u001a\u00020\u0001*\u00020\u00022\b\b\u0002\u0010\u0003\u001a\u00020\u0004\u001a\n\u0010\u0005\u001a\u00020\u0001*\u00020\u0002\u001a\n\u0010\u0006\u001a\u00020\u0001*\u00020\u0002¨\u0006\u0007"}, d2 = {"walk", "Lkotlin/io/FileTreeWalk;", "Ljava/io/File;", "direction", "Lkotlin/io/FileWalkDirection;", "walkBottomUp", "walkTopDown", "kotlin-stdlib"}, k = 5, mv = {1, 9, 0}, xi = ConstraintLayout.LayoutParams.Table.LAYOUT_EDITOR_ABSOLUTEX, xs = "kotlin/io/FilesKt")
|
|
/* loaded from: classes3.dex */
|
|
public class FilesKt__FileTreeWalkKt extends FilesKt__FileReadWriteKt {
|
|
public static /* synthetic */ FileTreeWalk walk$default(File file, FileWalkDirection fileWalkDirection, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
fileWalkDirection = FileWalkDirection.TOP_DOWN;
|
|
}
|
|
return FilesKt.walk(file, fileWalkDirection);
|
|
}
|
|
|
|
public static final FileTreeWalk walk(File file, FileWalkDirection direction) {
|
|
Intrinsics.checkNotNullParameter(file, "<this>");
|
|
Intrinsics.checkNotNullParameter(direction, "direction");
|
|
return new FileTreeWalk(file, direction);
|
|
}
|
|
|
|
public static final FileTreeWalk walkTopDown(File file) {
|
|
Intrinsics.checkNotNullParameter(file, "<this>");
|
|
return FilesKt.walk(file, FileWalkDirection.TOP_DOWN);
|
|
}
|
|
|
|
public static final FileTreeWalk walkBottomUp(File file) {
|
|
Intrinsics.checkNotNullParameter(file, "<this>");
|
|
return FilesKt.walk(file, FileWalkDirection.BOTTOM_UP);
|
|
}
|
|
}
|