From f8ce83c48ab43ec015c559a0ae4e5649d863babd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 25 Jul 2026 10:09:24 +0000 Subject: [PATCH] Update package specifications for parser, repoutil, semverutil, sliceutil - parser: add VerifyCommitExists to Remote Fetching section - repoutil, semverutil, sliceutil: specifications verified, no changes needed Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- pkg/parser/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/parser/README.md b/pkg/parser/README.md index 0930df2ffda..dd692f31ac6 100644 --- a/pkg/parser/README.md +++ b/pkg/parser/README.md @@ -88,6 +88,7 @@ The package is designed for use both in the main CLI binary and in WebAssembly c | `DownloadFileFromGitHub` | `func(ctx context.Context, owner, repo, path, ref string) ([]byte, error)` | Downloads a file from GitHub via the API | | `DownloadFileFromGitHubForHost` | `func(ctx context.Context, owner, repo, path, ref, host string) ([]byte, error)` | Downloads a file from a specific GitHub host | | `ResolveRefToSHAForHost` | `func(ctx context.Context, owner, repo, ref, host string) (string, error)` | Resolves a branch/tag ref to a commit SHA | +| `VerifyCommitExists` | `func(ctx context.Context, owner, repo, sha, host string) error` | Verifies that a specific commit SHA exists in the repository on the given host | | `ListWorkflowFiles` | `func(ctx context.Context, owner, repo, ref, workflowPath string) ([]string, error)` | Lists workflow files in a remote repository | | `ListWorkflowFilesForHost` | `func(ctx context.Context, owner, repo, ref, workflowPath, host string) ([]string, error)` | Lists workflow files in a remote repository on a specific GitHub host | | `ListDirAllFilesForHost` | `func(ctx context.Context, owner, repo, ref, dirPath, host string) ([]string, error)` | Lists all files (any extension) that are direct children of the given directory in a remote repository |