MCPcopy Create free account
hub / github.com/google/git-appraise / Write

Method Write

review/comment/comment.go:179–182  ·  view source on GitHub ↗

Write writes a review comment as a JSON-formatted git note.

()

Source from the content-addressed store, hash-verified

177
178// Write writes a review comment as a JSON-formatted git note.
179func (comment Comment) Write() (repository.Note, error) {
180 bytes, err := comment.serialize()
181 return repository.Note(bytes), err
182}
183
184// Hash returns the SHA1 hash of a review comment.
185func (comment Comment) Hash() (string, error) {

Callers

nothing calls this directly

Calls 1

serializeMethod · 0.95

Tested by

no test coverage detected