emo / me.eater.emo.emo / RepositoryDefinition

RepositoryDefinition

data class RepositoryDefinition

Repository Definition, stores data about a repository

Constructors

<init>

RepositoryDefinition(type: RepositoryType, url: String)

Repository Definition, stores data about a repository

Properties

hash

val hash: String

Get unique hash of this RepositoryDefinition, is a base64 of type and url joined by an ':'

type

val type: RepositoryType

type of repository, represented by RepositoryType

url

val url: String

URL to repository, may be an http(s) url or just a file path (which is used for local repositories)

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int