Skip to main content

Module commit

Module commit 

Source
Expand description

Models for refs (branches and tags), commits, and source browsing.

Structsยง

BranchDetail
A branch ref as returned by the refs/branches API, including its target commit. Distinct from super::repo::Branch, which is the bare { name } shape embedded in repository payloads.
CommitSummary
A commit as returned by the commits / commit/{hash} endpoints and embedded as the target of branch and tag refs.
CreateBranchRequest
Request body for POST refs/branches.
CreateTagRequest
Request body for POST refs/tags. message is omitted from the payload when unset so Bitbucket creates a lightweight tag.
FileHistoryEntry
One entry from the filehistory/{ref}/{path} endpoint: a commit that touched the file, plus the path the file had at that commit.
RefTarget
The target object of a ref-creation request: the commit to point at.
SourceEntry
A file or directory entry from the src/{ref}/{path} listing endpoint.
TagDetail
A tag ref as returned by the refs/tags API.