Dependency

Representing a dependency, which is basically a version string and a compare methode, e.g. '>=1.0.0 <2.0.0' (i.e. a space separates the two version numbers)

Constructors

this
this(string ves)
Undocumented in source.
this
this(Version ver)
Undocumented in source.

Members

Functions

matches
bool matches(const(Version) v)
Undocumented in source. Be warned that the author may not have intended to support it.
matches
bool matches(const(Version) v)
Undocumented in source. Be warned that the author may not have intended to support it.
matches
bool matches(string vers)
Undocumented in source. Be warned that the author may not have intended to support it.
merge
Dependency merge(const(Dependency) o)

Merges to versions

opEquals
bool opEquals(Dependency o)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
valid
bool valid()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

optional
bool optional [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
optional
bool optional [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
path
Path path [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
path
Path path [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
version_
Version version_ [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta