dub v1.32.1-beta.1 (2023-04-15T20:33:32Z)
Dub
Repo
Dependency.matches
dub
dependency
Dependency
Tests if the specification matches a specific version.
bool
matches
(string vers, VersionMatchMode mode)
bool
matches
(Version v, VersionMatchMode mode)
struct
Dependency
const @
safe
bool
matches
(
in
Version
v
,
VersionMatchMode
mode
=
VersionMatchMode.standard
)
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.