Skip to main content

GiteaSource Constructors

Declaring Type: GiteaSource
Namespace: Velopack.Sources
Assembly: Velopack
Assembly Version: 0.0.942+a011233

public GiteaSource(string repoUrl, string accessToken, bool prerelease, IFileDownloader downloader = null);

Parameters

repoUrl string

The URL of the Gitea repository to download releases from (e.g. https://Gitea.com/myuser/myrepo)

accessToken string

The Gitea access token to use with the request to download releases. If left empty, the Gitea rate limit for unauthenticated requests allows for up to 60 requests per hour, limited by IP address.

prerelease bool

If true, pre-releases will be also be searched / downloaded. If false, only stable releases will be considered.

downloader IFileDownloader

The file downloader used to perform HTTP requests.


Documentation generated by MdDocs