File tree Expand file tree Collapse file tree 2 files changed +2
-12
lines changed
Expand file tree Collapse file tree 2 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -22,20 +22,14 @@ class GitRepo : public ObjectWrap {
2222 static void Initialize (Handle<v8::Object> target);
2323 git_repository* GetValue ();
2424 void SetValue (git_repository* repo);
25+
2526 // Asynchronous
2627 int Open (const char * path);
2728 int Init (const char * path, bool is_bare);
29+
2830 // Synchronous
2931 void Free ();
3032
31- // TODO: Implement these methods
32- // int Open2(const char* path);
33- // int Open3(const char* path);
34- // int Lookup(Object **obj, Oid *id, Otype type);
35- // Odb Database();
36- // int Index(Index **index);
37- // int NewObject(git_object **obj, Otype type);
38-
3933 protected:
4034 GitRepo () {}
4135 ~GitRepo () {}
Original file line number Diff line number Diff line change @@ -40,10 +40,6 @@ void GitRepo::SetValue(git_repository* repo) {
4040 this ->repo = repo;
4141}
4242
43- int GitRepo::Open (const char * path) {
44- return git_repository_open (&this ->repo , path);
45- }
46-
4743void GitRepo::Free () {
4844 git_repository_free (this ->repo );
4945}
You can’t perform that action at this time.
0 commit comments