()
| 691 | } |
| 692 | |
| 693 | func (repo *Repository) Workdir() string { |
| 694 | s := C.GoString(C.git_repository_workdir(repo.ptr)) |
| 695 | runtime.KeepAlive(repo) |
| 696 | return s |
| 697 | } |
| 698 | |
| 699 | func (repo *Repository) SetWorkdir(workdir string, updateGitlink bool) error { |
| 700 | cstr := C.CString(workdir) |
no outgoing calls