Daemon git_d
Documentation for the daemons-git_d daemon in /daemons/git_d.c.
Functions
-
string query_expiry()
Return the expiry date of the token in ctime format.
-
int query_token_expiry()
Return the expiry date of the token in unix time format.
-
void set_token_expiry(string expiry)
Set the expiry date of the token. The expiry date should be in the format
-
string query_username()
Return the username.
-
void set_username(string user)
Set the username.
-
string query_repository_url()
Return the URL of the repository.
-
string query_api_url()
Return the API URL for the repository. This is the URL that should be used to access the repository’s API. It is constructed from the repository URL and depends on github’s API URL format.
-
void set_repository_url(string url)
Set the URL of the repository.
-
void set_token(string tok)
Set the token to be used for accessing the repository.
File generated by Lima 1.1a4 reStructured Text daemon.