All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ai.platon.pulsar.persist.experimental.WebAssets.kt Maven / Gradle / Ivy

package ai.platon.pulsar.persist.experimental

import ai.platon.pulsar.common.urls.UrlUtils

val KWebAsset.isNil: Boolean get() = this is NilWebAsset
val KWebAsset.isNotNil: Boolean get() = !isNil

/**
 * The reversed url of the web page, it's also the key of the underlying storage of this object
 */
val KWebAsset.reversedUrl: String get() = UrlUtils.reverseUrl(url)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy