RepositoryPackage

data class RepositoryPackage(val manifest: PackageManifest, val files: List<PackageFile>)

A package resolved from a PackageRepository.

Parameters

manifest

parsed manifest of the package

files

every file of the package, manifest included, with lazily loaded content

Constructors

Link copied to clipboard
constructor(manifest: PackageManifest, files: List<PackageFile>)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Loads every file of this package into a new in-memory file system, rooted at /.

Link copied to clipboard
fun file(path: String): PackageFile?