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

Latest commit

 

History

History
History
104 lines (87 loc) · 2.91 KB

File metadata and controls

104 lines (87 loc) · 2.91 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
/**
* This code is auto-generated; unless you know what you're doing, do not modify!
**/
#ifndef GITREFERENCE_H
#define GITREFERENCE_H
#include <v8.h>
#include <node.h>
#include <string>
#include "git2.h"
using namespace node;
using namespace v8;
class GitReference : public ObjectWrap {
public:
static Persistent<Function> constructor_template;
static void Initialize (Handle<v8::Object> target);
git_reference *GetValue();
static Handle<Value> New(void *raw);
private:
GitReference(git_reference *raw);
~GitReference();
static Handle<Value> New(const Arguments& args);
static Handle<Value> OidForName(const Arguments& args);
static void OidForNameWork(uv_work_t* req);
static void OidForNameAfterWork(uv_work_t* req);
struct OidForNameBaton {
uv_work_t request;
int error_code;
const git_error* error;
git_oid * out;
Persistent<Value> repoReference;
git_repository * repo;
Persistent<Value> nameReference;
const char * name;
Persistent<Function> callback;
};
static Handle<Value> Target(const Arguments& args);
static Handle<Value> SymbolicTarget(const Arguments& args);
static Handle<Value> Type(const Arguments& args);
static Handle<Value> Name(const Arguments& args);
static Handle<Value> Resolve(const Arguments& args);
static void ResolveWork(uv_work_t* req);
static void ResolveAfterWork(uv_work_t* req);
struct ResolveBaton {
uv_work_t request;
int error_code;
const git_error* error;
git_reference * out;
Persistent<Value> refReference;
const git_reference * ref;
Persistent<Function> callback;
};
static Handle<Value> SetSymbolicTarget(const Arguments& args);
static Handle<Value> setTarget(const Arguments& args);
static Handle<Value> Rename(const Arguments& args);
static void RenameWork(uv_work_t* req);
static void RenameAfterWork(uv_work_t* req);
struct RenameBaton {
uv_work_t request;
int error_code;
const git_error* error;
git_reference * out;
Persistent<Value> refReference;
git_reference * ref;
Persistent<Value> new_nameReference;
const char * new_name;
Persistent<Value> forceReference;
int force;
Persistent<Function> callback;
};
static Handle<Value> Delete(const Arguments& args);
static void DeleteWork(uv_work_t* req);
static void DeleteAfterWork(uv_work_t* req);
struct DeleteBaton {
uv_work_t request;
int error_code;
const git_error* error;
Persistent<Value> refReference;
git_reference * ref;
Persistent<Function> callback;
};
static Handle<Value> IsBranch(const Arguments& args);
static Handle<Value> IsRemote(const Arguments& args);
static Handle<Value> Peel(const Arguments& args);
static Handle<Value> IsValidName(const Arguments& args);
git_reference *raw;
};
#endif
Morty Proxy This is a proxified and sanitized view of the page, visit original site.