aboutsummaryrefslogtreecommitdiff
path: root/object/type/is_base.go
blob: cdc11f5b234ca24dbb76c645fa8a0ea257f2707c (about) (plain) (blame)
1
2
3
4
5
6
7
package objecttype

// IsBaseObject reports whether ty is one of the four canonical Git object
// types encoded directly in pack entries.
func (ty Type) IsBaseObject() bool {
	return ty.details().isBaseObject
}