You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: library/common-core/api/common-core.api
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -111,8 +111,9 @@ public final class io/matthewnelson/kmp/tor/common/core/PlatformResource$Builder
111
111
public final class io/matthewnelson/kmp/tor/common/core/Resource {
112
112
public final field alias Ljava/lang/String;
113
113
public final field isExecutable Z
114
+
public final field mode Ljava/lang/String;
114
115
public final field platform Lio/matthewnelson/kmp/tor/common/core/PlatformResource;
115
-
public synthetic fun <init> (Ljava/lang/String;ZLio/matthewnelson/kmp/tor/common/core/PlatformResource;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
116
+
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Lio/matthewnelson/kmp/tor/common/core/PlatformResource;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
116
117
public fun equals (Ljava/lang/Object;)Z
117
118
public fun hashCode ()I
118
119
public fun toString ()Ljava/lang/String;
@@ -121,6 +122,7 @@ public final class io/matthewnelson/kmp/tor/common/core/Resource {
121
122
public final class io/matthewnelson/kmp/tor/common/core/Resource$Builder {
122
123
public final field alias Ljava/lang/String;
123
124
public field isExecutable Z
125
+
public final fun mode (Ljava/lang/String;)Lio/matthewnelson/kmp/tor/common/core/Resource$Builder;
124
126
public final fun platform (Lkotlin/jvm/functions/Function1;)Lio/matthewnelson/kmp/tor/common/core/Resource$Builder;
Copy file name to clipboardExpand all lines: library/common-core/api/common-core.klib.api
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ final class io.matthewnelson.kmp.tor.common.core/Resource { // io.matthewnelson.
40
40
final fun <get-alias>(): kotlin/String // io.matthewnelson.kmp.tor.common.core/Resource.alias.<get-alias>|<get-alias>(){}[0]
41
41
final val isExecutable // io.matthewnelson.kmp.tor.common.core/Resource.isExecutable|{}isExecutable[0]
42
42
final fun <get-isExecutable>(): kotlin/Boolean // io.matthewnelson.kmp.tor.common.core/Resource.isExecutable.<get-isExecutable>|<get-isExecutable>(){}[0]
43
+
final val mode // io.matthewnelson.kmp.tor.common.core/Resource.mode|{}mode[0]
44
+
final fun <get-mode>(): kotlin/String // io.matthewnelson.kmp.tor.common.core/Resource.mode.<get-mode>|<get-mode>(){}[0]
43
45
final val platform // io.matthewnelson.kmp.tor.common.core/Resource.platform|{}platform[0]
44
46
final fun <get-platform>(): io.matthewnelson.kmp.tor.common.core/PlatformResource // io.matthewnelson.kmp.tor.common.core/Resource.platform.<get-platform>|<get-platform>(){}[0]
45
47
@@ -55,6 +57,7 @@ final class io.matthewnelson.kmp.tor.common.core/Resource { // io.matthewnelson.
55
57
final fun <get-isExecutable>(): kotlin/Boolean // io.matthewnelson.kmp.tor.common.core/Resource.Builder.isExecutable.<get-isExecutable>|<get-isExecutable>(){}[0]
56
58
final fun <set-isExecutable>(kotlin/Boolean) // io.matthewnelson.kmp.tor.common.core/Resource.Builder.isExecutable.<set-isExecutable>|<set-isExecutable>(kotlin.Boolean){}[0]
57
59
60
+
final fun mode(kotlin/String?): io.matthewnelson.kmp.tor.common.core/Resource.Builder // io.matthewnelson.kmp.tor.common.core/Resource.Builder.mode|mode(kotlin.String?){}[0]
58
61
final fun platform(kotlin/Function1<io.matthewnelson.kmp.tor.common.core/PlatformResource.Builder, kotlin/Unit>): io.matthewnelson.kmp.tor.common.core/Resource.Builder // io.matthewnelson.kmp.tor.common.core/Resource.Builder.platform|platform(kotlin.Function1<io.matthewnelson.kmp.tor.common.core.PlatformResource.Builder,kotlin.Unit>){}[0]
Copy file name to clipboardExpand all lines: library/common-core/src/jsWasmJsMain/kotlin/io/matthewnelson/kmp/tor/common/core/internal/JsWasmJsPlatform.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ internal actual fun Resource.extractTo(destinationDir: File, onlyIfDoesNotExist:
57
57
}
58
58
}
59
59
60
-
val excl =OpenExcl.MustCreate.of(mode =if (isExecutable) "500"else"400")
0 commit comments