From 9b8f184ff169e0162241b2d3c20fa4bbe4681607 Mon Sep 17 00:00:00 2001 From: cswimr Date: Mon, 10 Feb 2025 05:27:52 -0600 Subject: [PATCH] improved some provider comments --- src/provider.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.