WorkspacePins

The project attributes that a container can carry as files of the workspace: a version file for a tool (project.pins.node is .nvmrc), a requirements pin (project.python.<name> is a line of requirements.txt) and a checksum pin (project.checksums.<path> is a line of SHA256SUMS). The arm writes them into a copy of the workspace.

Functions

Link copied to clipboard
fun fileOf(path: String): String?

The workspace file that carries the attribute at path, or null.

Link copied to clipboard
fun files(attributes: Map<String, String>): Map<String, String>

The workspace files that attributes ask for, by file name.

Link copied to clipboard
fun handles(path: String): Boolean
Link copied to clipboard
fun valid(path: String, value: String): Boolean

Whether value is a plain version, or a sha256 digest for a checksum pin.