dub v1.39.0-beta.1 (2024-07-01T22:51:36Z)
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
static variables
Any
Invalid
Tests if the specification matches a specific version.