diff --git a/src/provider.ts b/src/provider.ts index 1525776..f7dabf5 100644 --- a/src/provider.ts +++ b/src/provider.ts @@ -9,7 +9,7 @@ export class UrlProvider { * Creates a new UrlProvider instance. * @param hash - A hash string used for identifying or verifying the resource. * @param hashFormat - The format of the provided hash. - * @param url - A Resource instance representing the URL. + * @param url - A Resource instance representing the URL where the file can be downloaded from. */ constructor( public hash: string, @@ -27,7 +27,7 @@ export class ModrinthProvider extends UrlProvider { * Creates a new ModrinthProvider instance. * @param hash - A hash string used for identification or verification. * @param hashFormat - The format of the provided hash. - * @param url - A Resource instance representing the URL. + * @param url - A Resource instance representing the URL where the file can be downloaded from. * @param modId - The identifier for the Modrinth mod. * @param versionId - The version identifier for the mod. */ @@ -51,7 +51,7 @@ export class GitHubProvider extends UrlProvider { * Creates a new GitHubProvider instance. * @param hash - A hash string used for identification or verification. * @param hashFormat - The format of the hash. - * @param url - A Resource instance representing the URL. + * @param url - A Resource instance representing the URL where the file can be downloaded from. * @param branch - The branch name within the GitHub repository. * @param regex - A regular expression for matching specific patterns in the GitHub URL. * @param slug - A URL slug used for identifying the repository.