-
Notifications
You must be signed in to change notification settings - Fork 699
Expand file tree
/
Copy pathdiff_file.h
More file actions
44 lines (30 loc) · 793 Bytes
/
diff_file.h
File metadata and controls
44 lines (30 loc) · 793 Bytes
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
/**
* This code is auto-generated; unless you know what you're doing, do not modify!
**/
#ifndef GITDIFFFILE_H
#define GITDIFFFILE_H
#include <v8.h>
#include <node.h>
#include <string>
#include "nan.h"
#include "git2.h"
using namespace node;
using namespace v8;
class GitDiffFile : public ObjectWrap {
public:
static Persistent<FunctionTemplate> constructor_template;
static void Initialize (Handle<v8::Object> target);
git_diff_file *GetValue();
static Handle<Value> New(void *raw);
private:
GitDiffFile(git_diff_file *raw);
~GitDiffFile();
static NAN_METHOD(New);
static NAN_METHOD(Oid);
static NAN_METHOD(Path);
static NAN_METHOD(Size);
static NAN_METHOD(Flags);
static NAN_METHOD(Mode);
git_diff_file *raw;
};
#endif