(oid2 *Oid, n uint)
| 258 | } |
| 259 | |
| 260 | func (oid *Oid) NCmp(oid2 *Oid, n uint) int { |
| 261 | return bytes.Compare(oid[:n], oid2[:n]) |
| 262 | } |
| 263 | |
| 264 | func ShortenOids(ids []*Oid, minlen int) (int, error) { |
| 265 | shorten := C.git_oid_shorten_new(C.size_t(minlen)) |
nothing calls this directly
no outgoing calls
no test coverage detected