2.5 KiB
packwizjs / provider / GitHubProvider
Class: GitHubProvider
Defined in: provider.ts:49
URL provider for handling GitHub-related URLs. Extends the UrlProvider with GitHub-specific properties.
Extends
Constructors
new GitHubProvider()
new GitHubProvider(
hash
,hashFormat
,url
,branch
,regex
,slug
,tag
):GitHubProvider
Defined in: provider.ts:60
Creates a new GitHubProvider instance.
Parameters
hash
string
A hash string used for identification or verification.
hashFormat
The format of the hash.
url
A Resource instance representing the URL.
branch
string
The branch name within the GitHub repository.
regex
string
A regular expression for matching specific patterns in the GitHub URL.
slug
string
A URL slug used for identifying the repository.
tag
string
The tag associated with the GitHub resource.
Returns
Overrides
Properties
branch
branch:
string
Defined in: provider.ts:64
The branch name within the GitHub repository.
hash
hash:
string
Defined in: provider.ts:15
A hash string used for identifying or verifying the resource.
Inherited from
hashFormat
hashFormat:
HashFormat
Defined in: provider.ts:16
The format of the provided hash.
Inherited from
regex
regex:
string
Defined in: provider.ts:65
A regular expression for matching specific patterns in the GitHub URL.
slug
slug:
string
Defined in: provider.ts:66
A URL slug used for identifying the repository.
tag
tag:
string
Defined in: provider.ts:67
The tag associated with the GitHub resource.
url
url:
Resource
Defined in: provider.ts:17
A Resource instance representing the URL.