dub v1.39.0-beta.1 (2024-07-01T22:51:36Z)
Dub
Repo
Dependency.this
dub
dependency
Dependency
Constructs a new dependency specification that matches a specific Git reference.
this
(NativePath path)
this
(Repository repository)
struct
Dependency
@
safe
this
(
Repository
repository
)
this
(string spec)
this
(Version ver)
this
(VersionRange rng)
this
(Repository repository, string spec)
Meta
Source
See Implementation
dub
dependency
Dependency
constructors
this
functions
mapToPath
matches
matchesAny
merge
opCmp
opEquals
toJson
toString
valid
properties
any
default_
invalid
isExactVersion
optional
path
repository
versionSpec
version_
static functions
fromJson
static variables
Any
Invalid
Constructs a new dependency specification that matches a specific Git reference.