mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-16 12:35:26 +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. |
||
---|---|---|
.. | ||
fixtures | ||
internal | ||
bitbucket.go | ||
bitbucket_test.go | ||
convert.go | ||
convert_test.go | ||
parse.go | ||
parse_test.go |