aboutsummaryrefslogtreecommitdiff
path: root/object/blob/parse.go
blob: b5522e6a927326182b0f39d3a1e3381d5e82538e (about) (plain) (blame)
1
2
3
4
5
6
7
8
package blob

// Parse decodes a blob object body.
//
// Labels: Deps-Owned, Life-Independent.
func Parse(body []byte) (*Blob, error) {
	return &Blob{Data: append([]byte(nil), body...)}, nil
}