mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-10-03 08:51:59 +00:00
dcba48f916
In order to test this functionality, we had to expose the `BranchHead()` through an API endpoint ``` GET /repos/{repo_id}/branches/{branch}/head ``` The response is a string that contains the latest commit hash of the requested branch. |
||
---|---|---|
.. | ||
client.go | ||
types.go |