putVersion

fun putVersion(versionKey: ModuleVersionKey, version: ModuleVersion)

Record a version of a module. This includes information about the source's digest and the list of local imports.

There must not already be a version with that key in the repository.

Parameters

versionKey

The ModuleVersionKey identifying the version of a module's source.

version

The ModuleVersion to add.