re-encapsulate repository
This commit is contained in:
parent
2656a72e82
commit
9299214e57
|
@ -15,10 +15,6 @@ type Repository struct {
|
||||||
ptr *C.git_repository
|
ptr *C.git_repository
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v *Repository) Pointer() *C.git_repository {
|
|
||||||
return v.ptr
|
|
||||||
}
|
|
||||||
|
|
||||||
func OpenRepository(path string) (*Repository, error) {
|
func OpenRepository(path string) (*Repository, error) {
|
||||||
repo := new(Repository)
|
repo := new(Repository)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue