summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repository.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repository.go b/repository.go
index f785111..bfbd781 100644
--- a/repository.go
+++ b/repository.go
@@ -16,7 +16,7 @@ type Repository struct {
ptr *C.git_repository
}
-func Open(path string) (*Repository, error) {
+func OpenRepository(path string) (*Repository, error) {
repo := new(Repository)
cpath := C.CString(path)
@@ -31,7 +31,7 @@ func Open(path string) (*Repository, error) {
return repo, nil
}
-func Init(path string, isbare bool) (*Repository, error) {
+func InitRepository(path string, isbare bool) (*Repository, error) {
repo := new(Repository)
cpath := C.CString(path)