dub.dependency

Dependency specification functionality.

Members

Enums

VersionMatchMode
enum VersionMatchMode
Undocumented in source.

Functions

isGitHash
bool isGitHash(string hash)

Determines whether the given string is a Git hash.

visit
auto visit(Dependency dep)

Allow direct access to the underlying dependency

visit
auto visit(Dependency dep)

/ Ditto

Structs

Dependency
struct Dependency

Represents a dependency specification.

PackageDependency
struct PackageDependency

Encapsulates the name of a package along with its dependency specification.

PackageName
struct PackageName

Represents a fully-qualified package name

Repository
struct Repository

Represents an SCM repository.

Version
struct Version

Represents a version in semantic version format, or a branch identifier.

VersionRange
struct VersionRange

A range of versions that are acceptable

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Matthias Dondorff, Sönke Ludwig