FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
nodegit/include/tree_entry.h at master · papandreou/nodegit · GitHub
papandreou
nodegit
Repository navigation
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
nodegit
/
include
/
tree_entry.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
56 lines (42 loc) · 1.33 KB
Breadcrumbs
nodegit
/
include
/
tree_entry.h
Copy path
File metadata and controls
executable file
·
56 lines (42 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
*
* This code is auto-generated; unless you know what you're doing, do not modify!
*
*/
#
ifndef
GITTREEENTRY_H
#
define
GITTREEENTRY_H
#
include
<
v8.h
>
#
include
<
node.h
>
#
include
<
string
>
#
include
"
git2.h
"
using
namespace
node
;
using
namespace
v8
;
class
GitTreeEntry
:
public
ObjectWrap
{
public:
static
Persistent<Function> constructor_template;
static
void
Initialize
(Handle<v8::Object> target);
git_tree_entry *
GetValue
();
static
Handle<Value>
New
(
void
*raw);
private:
GitTreeEntry
(git_tree_entry *raw);
~GitTreeEntry
();
static
Handle<Value>
New
(
const
Arguments& args);
static
Handle<Value>
Name
(
const
Arguments& args);
static
Handle<Value>
Oid
(
const
Arguments& args);
static
Handle<Value>
Type
(
const
Arguments& args);
static
Handle<Value>
filemode
(
const
Arguments& args);
static
Handle<Value>
GetObject
(
const
Arguments& args);
static
void
GetObjectWork
(
uv_work_t
* req);
static
void
GetObjectAfterWork
(
uv_work_t
* req);
struct
GetObjectBaton
{
uv_work_t
request;
int
error_code;
const
git_error* error;
git_object * object_out;
Persistent<Value> repoReference;
git_repository * repo;
Persistent<Value> entryReference;
const
git_tree_entry * entry;
Persistent<Function> callback;
};
git_tree_entry *raw;
};
#
endif
Back
|
FazBrowse Home
|
New Git URL