github.com/stffabi/git-lfs@v2.3.5-0.20180214015214-8eeaa8d88902+incompatible/git/odb/pack/chain_test.go (about)

     1  package pack
     2  
     3  type ChainSimple struct {
     4  	X   []byte
     5  	Err error
     6  }
     7  
     8  func (c *ChainSimple) Unpack() ([]byte, error) {
     9  	return c.X, c.Err
    10  }
    11  
    12  func (c *ChainSimple) Type() PackedObjectType { return TypeNone }