()
| 287 | } |
| 288 | |
| 289 | func (sub *Submodule) UpdateStrategy() SubmoduleUpdate { |
| 290 | o := C.git_submodule_update_strategy(sub.ptr) |
| 291 | runtime.KeepAlive(sub) |
| 292 | return SubmoduleUpdate(o) |
| 293 | } |
| 294 | |
| 295 | func (c *SubmoduleCollection) SetUpdate(submodule string, update SubmoduleUpdate) error { |
| 296 | csubmodule := C.CString(submodule) |
nothing calls this directly
no test coverage detected