Skip to content

Commit

Permalink
zed_extension_api: Add a short explanation of repo format (#21824)
Browse files Browse the repository at this point in the history
Improved extension api documentation for latest_github_release function

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <[email protected]>
  • Loading branch information
strowk and maxdeviant authored Dec 10, 2024
1 parent ab595b0 commit faf79e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/extension_api/wit/since_v0.2.0/github.wit
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ interface github {
}

/// Returns the latest release for the given GitHub repository.
///
/// Takes repo as a string in the form "<owner-name>/<repo-name>", for example: "zed-industries/zed".
latest-github-release: func(repo: string, options: github-release-options) -> result<github-release, string>;

/// Returns the GitHub release with the specified tag name for the given GitHub repository.
Expand Down

0 comments on commit faf79e5

Please sign in to comment.