(b []byte)
| 207 | } |
| 208 | |
| 209 | func NewOidFromBytes(b []byte) *Oid { |
| 210 | oid := new(Oid) |
| 211 | copy(oid[0:20], b[0:20]) |
| 212 | return oid |
| 213 | } |
| 214 | |
| 215 | func (oid *Oid) toC() *C.git_oid { |
| 216 | return (*C.git_oid)(unsafe.Pointer(oid)) |
no outgoing calls
searching dependent graphs…