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

import objectid "codeberg.org/lindenii/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
}