summaryrefslogtreecommitdiff
path: root/repository.go
diff options
context:
space:
mode:
authorVicent Marti <[email protected]>2013-03-06 17:18:25 +0100
committerVicent Marti <[email protected]>2013-03-06 17:18:25 +0100
commite620ded3930e9c9032421e6754d388be87f2a2e4 (patch)
tree85d0167a5809cd4fe4a51ad390426a311c284c87 /repository.go
parent60eac439430463bc69541231ad8186a9a2e471ef (diff)
Sane names yo
Diffstat (limited to 'repository.go')
-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)