Skip to content

Commit daa9f65

Browse files
committed
Changed Id to Oid
1 parent 265b5ef commit daa9f65

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

include/tree_entry.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ class GitTreeEntry : ObjectWrap {
4949
static void FileModeWork(uv_work_t* req);
5050
static void FileModeAfterWork(uv_work_t* req);
5151

52-
static Handle<Value> Id(const Arguments& args);
53-
static void IdWork(uv_work_t* req);
54-
static void IdAfterWork(uv_work_t* req);
52+
static Handle<Value> Oid(const Arguments& args);
53+
static void OidWork(uv_work_t* req);
54+
static void OidAfterWork(uv_work_t* req);
5555

5656
static Handle<Value> ToBlob(const Arguments& args);
5757
static void ToBlobWork(uv_work_t *req);
@@ -79,11 +79,11 @@ class GitTreeEntry : ObjectWrap {
7979
Persistent<Function> callback;
8080
};
8181

82-
struct IdBaton {
82+
struct OidBaton {
8383
uv_work_t request;
8484

8585
git_tree_entry* rawEntry;
86-
git_oid* rawOid;
86+
const git_oid* rawOid;
8787

8888
Persistent<Function> callback;
8989
};

0 commit comments

Comments
 (0)