package object
import objecttype "lindenii.org/go/furgit/object/type"
// Object is a Git object.
type Object interface {
ObjectType() objecttype.Type
BytesWithoutHeader() ([]byte, error)
BytesWithHeader() ([]byte, error)
}
![]() |
index : ~runxiyu/furgit.git | |
| Unnamed repository; edit this file 'description' to name the repository. |
| aboutsummaryrefslogtreecommitdiff |
package object
import objecttype "lindenii.org/go/furgit/object/type"
// Object is a Git object.
type Object interface {
ObjectType() objecttype.Type
BytesWithoutHeader() ([]byte, error)
BytesWithHeader() ([]byte, error)
}