dub v1.27.0-beta.1 (2021-08-22T18:28:33Z)
Dub
Repo
Dependency.matches
dub
dependency
Dependency
Tests if the specification matches a specific version.
bool
matches
(string vers)
bool
matches
(const(Version) v)
struct
Dependency
@
safe
const
bool
matches
(
const
(
Version
)
v
)
bool
matches
(const(Version) v)
Meta
Source
See Implementation
dub
dependency
Dependency
constructors
this
functions
mapToPath
matches
matchesAny
merge
opCmp
opEquals
toHash
toJson
toString
valid
properties
any
default_
invalid
isExactVersion
isSCM
optional
path
repository
versionSpec
version_
static functions
fromJson
Tests if the specification matches a specific version.