-
Notifications
You must be signed in to change notification settings - Fork 699
Expand file tree
/
Copy pathbase.cc
More file actions
executable file
·87 lines (75 loc) · 2.36 KB
/
base.cc
File metadata and controls
executable file
·87 lines (75 loc) · 2.36 KB
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
/*
* Copyright 2013, Tim Branyen @tbranyen <[email protected]>
* @author Michael Robinson @codeofinterest <[email protected]>
*
* Dual licensed under the MIT and GPL licenses.
*/
#include <v8.h>
#include <node.h>
#include "git2.h"
#include "../include/wrapper.h"
#include "../include/reference.h"
#include "../include/signature.h"
#include "../include/time.h"
#include "../include/blob.h"
#include "../include/repo.h"
#include "../include/oid.h"
#include "../include/object.h"
#include "../include/commit.h"
#include "../include/revwalk.h"
#include "../include/tree.h"
#include "../include/tree_entry.h"
#include "../include/diff_find_options.h"
#include "../include/diff_options.h"
#include "../include/diff_list.h"
#include "../include/diff_range.h"
#include "../include/diff_file.h"
#include "../include/patch.h"
#include "../include/delta.h"
#include "../include/threads.h"
#include "../include/index.h"
#include "../include/index_entry.h"
#include "../include/index_time.h"
#include "../include/tag.h"
#include "../include/refdb.h"
#include "../include/odb_object.h"
#include "../include/odb.h"
#include "../include/submodule.h"
#include "../include/tree_builder.h"
#include "../include/remote.h"
#include "../include/clone_options.h"
extern "C" void init(Handle<v8::Object> target) {
NanScope();
Wrapper::Initialize(target);
GitReference::Initialize(target);
GitIndex::Initialize(target);
GitIndexEntry::Initialize(target);
GitIndexTime::Initialize(target);
GitTag::Initialize(target);
GitSignature::Initialize(target);
GitTime::Initialize(target);
GitBlob::Initialize(target);
GitOid::Initialize(target);
GitObject::Initialize(target);
GitRepo::Initialize(target);
GitCommit::Initialize(target);
GitRevWalk::Initialize(target);
GitRefDb::Initialize(target);
GitOdb::Initialize(target);
GitOdbObject::Initialize(target);
GitSubmodule::Initialize(target);
GitTree::Initialize(target);
GitTreeEntry::Initialize(target);
GitTreeBuilder::Initialize(target);
GitDiffRange::Initialize(target);
GitDiffFindOptions::Initialize(target);
GitDiffOptions::Initialize(target);
GitDiffList::Initialize(target);
GitPatch::Initialize(target);
GitDiffFile::Initialize(target);
GitDelta::Initialize(target);
GitRemote::Initialize(target);
GitCloneOptions::Initialize(target);
GitThreads::Initialize(target);
}
NODE_MODULE(nodegit, init)