File: chain_test.go

package info (click to toggle)
golang-github-git-lfs-gitobj 2.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 432 kB
  • sloc: makefile: 2; sh: 1
file content (12 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
package pack

type ChainSimple struct {
	X   []byte
	Err error
}

func (c *ChainSimple) Unpack() ([]byte, error) {
	return c.X, c.Err
}

func (c *ChainSimple) Type() PackedObjectType { return TypeNone }