mirror of
https://github.com/ReVanced/revanced-library.git
synced 2026-01-18 17:03:57 +00:00
fix: Make functions internal which are supposed to be internal
BREAKING CHANGE: Some functions are not available anymore.
This commit is contained in:
@@ -123,8 +123,8 @@ object PatchUtils {
|
||||
val use: Boolean,
|
||||
val options: Map<String, FullJsonPatchOption<*>>,
|
||||
) : JsonPatch {
|
||||
companion object {
|
||||
fun fromPatch(patch: Patch<*>) =
|
||||
internal companion object {
|
||||
internal fun fromPatch(patch: Patch<*>) =
|
||||
FullJsonPatch(
|
||||
patch.name,
|
||||
patch.description,
|
||||
@@ -148,8 +148,8 @@ object PatchUtils {
|
||||
val required: Boolean,
|
||||
val type: KType,
|
||||
) {
|
||||
companion object {
|
||||
fun fromPatchOption(option: Option<*>) =
|
||||
internal companion object {
|
||||
internal fun fromPatchOption(option: Option<*>) =
|
||||
FullJsonPatchOption(
|
||||
option.key,
|
||||
option.default,
|
||||
|
||||
Reference in New Issue
Block a user