Cave
Cave
The cave module defines annotations and types used by Cavefiles.
Annotations
Dependencies
annotation Dependencies
Marks the current data structure as a dependencies manifest.
Git
annotation Git
Marks a field as a Git dependency with a URL and predicate. The field name
represents the import name of the dependency in this package.
Fields:
@String url
Local
annotation Local
Marks a field as a local dependency with a path.
Fields:
@String path
Stdlib
annotation Stdlib
Marks the current data structure as a standard library dependency.
Fields:
@String name
Version
annotation Version
The version predicate for a Git dependency.
Fields:
@String predicate
Enum
Source
enum Source
The type of dependency: standard library, Git, or local.
Cases:
StdlibGitLocal