()
| 403 | } |
| 404 | |
| 405 | func (v *Repository) IsShallow() (bool, error) { |
| 406 | runtime.LockOSThread() |
| 407 | defer runtime.UnlockOSThread() |
| 408 | |
| 409 | ret := C.git_repository_is_shallow(v.ptr) |
| 410 | runtime.KeepAlive(v) |
| 411 | if ret < 0 { |
| 412 | return false, MakeGitError(ret) |
| 413 | } |
| 414 | return ret != 0, nil |
| 415 | } |
| 416 | |
| 417 | func (v *Repository) Walk() (*RevWalk, error) { |
| 418 |
nothing calls this directly
no test coverage detected