RepositoryDescriber

class RepositoryDescriber(repository: Repository)

An RepositoryDescriber provides a textual representation of a Repository, showing the contained modules, versions, and compilations.

Author

Mark van Gulik

Parameters

repository

The repository to be described.

Constructors

Link copied to clipboard
constructor(repository: Repository)

Create a describer for the given repository.

Functions

Link copied to clipboard
fun describeCompilation(recordNumber: Long): String

Describe a single compilation from the repository. The supplied record number should have been one of the values produced by dumpAll.

Link copied to clipboard
fun describeManifest(recordNumberOfManifestEntries: Long): String
Link copied to clipboard
fun describeNamesIndex(recordNumberOfNamesIndex: Long): String
Link copied to clipboard

Produce a summary of the entire repository.