Profile

Undocumented in source.

Constructors

this
this(int id, string base, string[string] keys, bool namedBySha, bool publicDownload)
Undocumented in source.

Members

Functions

genToken
string genToken(string path, string user, string key, SysTime timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
verifyToken
bool verifyToken(string path, string user, string key, string token, SysTime timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

base
string base;

profile path prefix

id
int id;
Undocumented in source.
keys
string[string] keys;

which user/key could write this profile

namedBySha
bool namedBySha;

should name file by sha

publicDownload
bool publicDownload;

could download file publicly

Meta