Versions in this module Expand all Collapse all v5 v5.4.6 May 6, 2022 v5.4.5 Mar 19, 2022 Changes in this version + var ErrClosed = errors.New("objfile: already closed") + var ErrHeader = errors.New("objfile: invalid header") + var ErrNegativeSize = errors.New("objfile: negative object size") + var ErrOverflow = errors.New("objfile: declared data length exceeded (overflow)") + type Reader struct + func NewReader(r io.Reader) (*Reader, error) + func (r *Reader) Close() error + func (r *Reader) Hash() plumbing.Hash + func (r *Reader) Header() (t plumbing.ObjectType, size int64, err error) + func (r *Reader) Read(p []byte) (n int, err error) + type Writer struct + func NewWriter(w io.Writer) *Writer + func (w *Writer) Close() error + func (w *Writer) Hash() plumbing.Hash + func (w *Writer) Write(p []byte) (n int, err error) + func (w *Writer) WriteHeader(t plumbing.ObjectType, size int64) error Other modules containing this package github.com/get-woke/go-git