aboutsummaryrefslogtreecommitdiff
path: root/object/signed/commit/commit.go
blob: 64b0b0bf17c18c9108519ad461182b1347b01a06 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package signedcommit

import objectid "lindenii.org/go/furgit/object/id"

// Commit represents the payload and signatures parsed from a raw comit object.
type Commit struct {
	body       []byte
	payload    []byteRange
	signatures map[objectid.Algorithm][]byteRange
}

type byteRange struct {
	start int
	end   int
}