Module Version Key
An immutable key which specifies a version of some module. It includes whether the module's name refers to a package (a directory), and the digest of the file's contents.
Constructors
Link copied to clipboard
fun ModuleVersionKey(moduleName: ResolvedModuleName, sourceDigest: ByteArray)
Content copied to clipboard
Construct a new ModuleVersionKey.
Functions
Link copied to clipboard
open operator override fun compareTo(other: Repository.ModuleVersionKey): Int
Content copied to clipboard
Link copied to clipboard
Output this module version key to the provided DataOutputStream. An equal key can later be rebuilt via the constructor taking a DataInputStream.