dub v1.32.1-beta.1 (2023-04-15T20:33:32Z)
Dub
Repo
Dependency.this
dub
dependency
Dependency
Constructs a new dependency specification that matches a specific version.
this
(NativePath path)
this
(Repository repository)
this
(string spec)
this
(Version ver)
struct
Dependency
@
safe
this
(
const
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
Constructs a new dependency specification that matches a specific version.