func (remote *Remote) Save() error { ecode := C.git_remote_save(remote.git_remote) if ecode != git_SUCCESS { return gitError() } return nil }
func (o *Remote) Save() error { runtime.LockOSThread() defer runtime.UnlockOSThread() ret := C.git_remote_save(o.ptr) if ret < 0 { return MakeGitError(ret) } return nil }