From 9d0d814f19e9d31caeeb68abce84f9eba9659737 Mon Sep 17 00:00:00 2001 From: Jesse Ezell Date: Tue, 1 Apr 2014 11:06:47 -0700 Subject: rename inmemory to anonymous remote --- remote.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'remote.go') diff --git a/remote.go b/remote.go index 66097b8..da04d2a 100644 --- a/remote.go +++ b/remote.go @@ -184,7 +184,7 @@ func (repo *Repository) CreateRemoteWithFetchspec(name string, url string, fetch return remote, nil } -func (repo *Repository) CreateRemoteInMemory(fetch string, url string) (*Remote, error) { +func (repo *Repository) CreateAnonymousRemote(fetch string, url string) (*Remote, error) { remote := &Remote{} curl := C.CString(url) @@ -195,7 +195,7 @@ func (repo *Repository) CreateRemoteInMemory(fetch string, url string) (*Remote, runtime.LockOSThread() defer runtime.UnlockOSThread() - ret := C.git_remote_create_inmemory(&remote.ptr, repo.ptr, cfetch, curl) + ret := C.git_remote_create_anonymous(&remote.ptr, repo.ptr, cfetch, curl) if ret < 0 { return nil, MakeGitError(ret) } -- cgit v1.2.3