()
| 255 | } |
| 256 | |
| 257 | func (sub *Submodule) WdId() *Oid { |
| 258 | var id *Oid |
| 259 | idx := C.git_submodule_wd_id(sub.ptr) |
| 260 | if idx != nil { |
| 261 | id = newOidFromC(idx) |
| 262 | } |
| 263 | runtime.KeepAlive(sub) |
| 264 | return id |
| 265 | } |
| 266 | |
| 267 | func (sub *Submodule) Ignore() SubmoduleIgnore { |
| 268 | o := C.git_submodule_ignore(sub.ptr) |
nothing calls this directly
no test coverage detected