Config

Undocumented in source.

Constructors

this
this(string base, bool cacheable, bool publicList, string[] remoteRepos)
Undocumented in source.

Members

Functions

doDownload
bool doDownload(string uri)

try to download file @return true if local exists

download
bool download(string uri)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(string uri)
Undocumented in source. Be warned that the author may not have intended to support it.
verify
int verify(string uri)

verify artifact return 0 is ok. -1 miss match sha1,-2 missing artifact ,-3 missing sha1

Static functions

parse
Config parse(string content)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

AliyunURL
auto AliyunURL;
Undocumented in source.
CentralURL
auto CentralURL;
Undocumented in source.
Sha1Postfix
auto Sha1Postfix;
Undocumented in source.

Variables

base
string base;

artifact local repo

cacheable
bool cacheable;

cache the artifacts

defaultRepo
string defaultRepo;

default remote repo

publicList
bool publicList;

enable dir list

remoteRepos
string[] remoteRepos;

candinates remote repos

Meta