dub v1.31.0-rc.1 (2023-01-15T17:23:20Z)
Dub
Repo
Dependency.matches
dub
dependency
Dependency
Tests if the specification matches a specific version.
bool
matches
(string vers, VersionMatchMode mode)
struct
Dependency
const @
safe
bool
matches
(
string
vers
,
VersionMatchMode
mode
=
VersionMatchMode.standard
)
bool
matches
(Version v, VersionMatchMode mode)
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
Tests if the specification matches a specific version.