package p447.p448.p456;

import java.io.File;
import java.io.IOException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import p402.InterfaceC6540;
import p402.p411.p413.C6635;

/* JADX INFO: renamed from: ސ.ޣ.ވ.ؠ, reason: contains not printable characters */
/* JADX INFO: loaded from: classes.dex */
@InterfaceC6540
public interface InterfaceC7050 {

    /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
    public static final InterfaceC7050 f20555;

    /* JADX INFO: renamed from: ސ.ޣ.ވ.ؠ$֏, reason: contains not printable characters */
    public static final class C7051 {
        public C7051() {
        }

        public /* synthetic */ C7051(DefaultConstructorMarker defaultConstructorMarker) {
        }
    }

    static {
        new C7051(null);
        f20555 = new InterfaceC7050() { // from class: ސ.ޣ.ވ.֏$֏
            public String toString() {
                return "FileSystem.SYSTEM";
            }

            @Override // p447.p448.p456.InterfaceC7050
            /* JADX INFO: renamed from: ֏, reason: contains not printable characters */
            public void mo10364(File file) throws IOException {
                if (file == null) {
                    C6635.m9824("file");
                    throw null;
                }
                if (file.delete() || !file.exists()) {
                    return;
                }
                throw new IOException("failed to delete " + file);
            }

            @Override // p447.p448.p456.InterfaceC7050
            /* JADX INFO: renamed from: ؠ, reason: contains not printable characters */
            public void mo10365(File file) throws IOException {
                if (file == null) {
                    C6635.m9824("directory");
                    throw null;
                }
                File[] fileArrListFiles = file.listFiles();
                if (fileArrListFiles == null) {
                    throw new IOException("not a readable directory: " + file);
                }
                for (File file2 : fileArrListFiles) {
                    C6635.m9823((Object) file2, "file");
                    if (file2.isDirectory()) {
                        mo10365(file2);
                    }
                    if (!file2.delete()) {
                        throw new IOException("failed to delete " + file2);
                    }
                }
            }
        };
    }

    /* JADX INFO: renamed from: ֏ */
    void mo10364(File file);

    /* JADX INFO: renamed from: ؠ */
    void mo10365(File file);
}
