MCPcopy
hub / github.com/danger/danger-js / BitBucketCloudCommit

Interface BitBucketCloudCommit

source/danger.d.ts:132–155  ·  view source on GitHub ↗

A BitBucketCloud specific implementation of a git commit.

Source from the content-addressed store, hash-verified

130
131/** A BitBucketCloud specific implementation of a git commit. */
132interface BitBucketCloudCommit {
133 /** The SHA for the commit */
134 hash: string
135
136 /** The author of the commit, assumed to be the person who wrote the code. */
137 author: {
138 /** Format: `Foo Bar <foo@bar.com>` */
139 raw: string
140 user: BitBucketCloudUser
141 }
142
143 /** When the commit was committed to the project, in ISO 8601 format */
144 date: string
145 /** The commit's message */
146 message: string
147 /** The commit's parents */
148 parents: {
149 /** The full SHA */
150 hash: string
151 }[]
152
153 /** The commit's links */
154 links: BitBucketCloudLinks<"html">
155}
156
157interface BitBucketCloudContent {
158 raw: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected