Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 include/blob.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class GitBlob : public ObjectWrap {
* Returns:
* completion code integer
*/
static int EIO_Lookup(eio_req* req);
static void EIO_Lookup(eio_req* req);
/**
* Function: EIO_AfterLookup
*
Expand Down
2 changes: 1 addition & 1 deletion 2 include/commit.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class GitCommit : public EventEmitter {
static Handle<Value> New(const Arguments& args);

static Handle<Value> Lookup(const Arguments& args);
static int EIO_Lookup(eio_req *req);
static void EIO_Lookup(eio_req *req);
static int EIO_AfterLookup(eio_req *req);

static Handle<Value> Close(const Arguments& args);
Expand Down
2 changes: 1 addition & 1 deletion 2 include/reference.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class GitReference : public EventEmitter {
static Handle<Value> New(const Arguments& args);

static Handle<Value> Lookup(const Arguments& args);
static int EIO_Lookup(eio_req* req);
static void EIO_Lookup(eio_req* req);
static int EIO_AfterLookup(eio_req* req);

static Handle<Value> Oid(const Arguments& args);
Expand Down
4 changes: 2 additions & 2 deletions 4 include/repo.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class GitRepo : public EventEmitter {
static Handle<Value> New(const Arguments& args);

static Handle<Value> Open(const Arguments& args);
static int EIO_Open(eio_req* req);
static void EIO_Open(eio_req* req);
static int EIO_AfterOpen(eio_req* req);

static Handle<Value> Lookup(const Arguments& args);
Expand All @@ -53,7 +53,7 @@ class GitRepo : public EventEmitter {
static Handle<Value> Free(const Arguments& args);

static Handle<Value> Init(const Arguments& args);
static int EIO_Init(eio_req* req);
static void EIO_Init(eio_req* req);
static int EIO_AfterInit(eio_req* req);

private:
Expand Down
2 changes: 1 addition & 1 deletion 2 include/revwalk.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class GitRevWalk : public EventEmitter {
static Handle<Value> Hide(const Arguments& args);

static Handle<Value> Next(const Arguments& args);
static int EIO_Next(eio_req* req);
static void EIO_Next(eio_req* req);
static int EIO_AfterNext(eio_req* req);

static Handle<Value> Sorting(const Arguments& args);
Expand Down
4 changes: 2 additions & 2 deletions 4 include/tree.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ class GitTree : public EventEmitter {
static int EIO_AfterLookup(eio_req *req);
static Handle<Value> EntryCount(const Arguments& args);
static Handle<Value> EntryByIndex(const Arguments& args);
static int EIO_EntryByIndex(eio_req *req);
static void EIO_EntryByIndex(eio_req *req);
static int EIO_AfterEntryByIndex(eio_req *req);
static Handle<Value> EntryByName(const Arguments& args);
static int EIO_EntryByName(eio_req *req);
static void EIO_EntryByName(eio_req *req);
static int EIO_AfterEntryByName(eio_req *req);
static Handle<Value> SortEntries(const Arguments& args);
static Handle<Value> ClearEntries(const Arguments& args);
Expand Down
4 changes: 2 additions & 2 deletions 4 src/blob.cc
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,13 @@ Handle<Value> GitBlob::Lookup(const Arguments& args) {
return scope.Close( Undefined() );
}

int GitBlob::EIO_Lookup(eio_req* req) {
void GitBlob::EIO_Lookup(eio_req* req) {
lookup_request* ar = static_cast<lookup_request* >(req->data);

git_oid oid = ar->oid->GetValue();
ar->err = ar->blob->Lookup(ar->repo->GetValue(), &oid);

return 0;
return;
}

int GitBlob::EIO_AfterLookup(eio_req* req) {
Expand Down
4 changes: 2 additions & 2 deletions 4 src/commit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ Handle<Value> GitCommit::Lookup(const Arguments& args) {
return scope.Close( Undefined() );
}

int GitCommit::EIO_Lookup(eio_req *req) {
void GitCommit::EIO_Lookup(eio_req *req) {
lookup_request *ar = static_cast<lookup_request *>(req->data);

git_oid oid = ar->oid->GetValue();
ar->err = ar->commit->Lookup(ar->repo->GetValue(), &oid);

return 0;
return;
}

int GitCommit::EIO_AfterLookup(eio_req *req) {
Expand Down
4 changes: 2 additions & 2 deletions 4 src/reference.cc
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,14 @@ Handle<Value> GitReference::Lookup(const Arguments& args) {
return scope.Close( Undefined() );
}

int GitReference::EIO_Lookup(eio_req *req) {
void GitReference::EIO_Lookup(eio_req *req) {
lookup_request *ar = static_cast<lookup_request *>(req->data);

git_repository* repo = ar->repo->GetValue();

ar->err = ar->ref->Lookup(repo, ar->name.c_str());

return 0;
return;
}

int GitReference::EIO_AfterLookup(eio_req *req) {
Expand Down
8 changes: 4 additions & 4 deletions 8 src/repo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ Handle<Value> GitRepo::Open(const Arguments& args) {
return scope.Close( Undefined() );
}

int GitRepo::EIO_Open(eio_req *req) {
void GitRepo::EIO_Open(eio_req *req) {
open_request *ar = static_cast<open_request *>(req->data);

ar->err = ar->repo->Open(ar->path.c_str());

return 0;
return;
}

int GitRepo::EIO_AfterOpen(eio_req *req) {
Expand Down Expand Up @@ -258,12 +258,12 @@ Handle<Value> GitRepo::Init(const Arguments& args) {
return scope.Close( Undefined() );
}

int GitRepo::EIO_Init(eio_req *req) {
void GitRepo::EIO_Init(eio_req *req) {
init_request *ar = static_cast<init_request *>(req->data);

ar->err = ar->repo->Init(ar->path.c_str(), ar->is_bare);

return 0;
return;
}

int GitRepo::EIO_AfterInit(eio_req *req) {
Expand Down
4 changes: 2 additions & 2 deletions 4 src/revwalk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -156,14 +156,14 @@ Handle<Value> GitRevWalk::Next(const Arguments& args) {
return scope.Close( Undefined() );
}

int GitRevWalk::EIO_Next(eio_req *req) {
void GitRevWalk::EIO_Next(eio_req *req) {
next_request *ar = static_cast<next_request *>(req->data);
git_oid oid = ar->oid->GetValue();

ar->err = ar->revwalk->Next(&oid);
ar->oid->SetValue(oid);

return 0;
return;
}

int GitRevWalk::EIO_AfterNext(eio_req *req) {
Expand Down
8 changes: 4 additions & 4 deletions 8 src/tree.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ Handle<Value> GitTree::EntryByIndex(const Arguments& args) {
return scope.Close( Undefined() );
}

int GitTree::EIO_EntryByIndex(eio_req *req) {
void GitTree::EIO_EntryByIndex(eio_req *req) {
entryindex_request *er = static_cast<entryindex_request *>(req->data);

er->entry->SetValue(er->tree->EntryByIndex(er->idx));

return 0;
return;
}

int GitTree::EIO_AfterEntryByIndex(eio_req *req) {
Expand Down Expand Up @@ -256,12 +256,12 @@ Handle<Value> GitTree::EntryByName(const Arguments& args) {
return scope.Close( Undefined() );
}

int GitTree::EIO_EntryByName(eio_req *req) {
void GitTree::EIO_EntryByName(eio_req *req) {
entryname_request *er = static_cast<entryname_request *>(req->data);

er->entry->SetValue(er->tree->EntryByName(er->name.c_str()));

return 0;
return;
}

int GitTree::EIO_AfterEntryByName(eio_req *req) {
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.