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
43 lines (33 loc) · 1.06 KB

File metadata and controls

43 lines (33 loc) · 1.06 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
/**
* This code is auto-generated; unless you know what you're doing, do not modify!
**/
// Used to detect for Cygwin
var os = require('os');
// Required for Windows/Cygwin support
var root = [__dirname, '/vendor/libgit2/build/shared'].join(''),
path = process.env.PATH;
if (~os.type().indexOf('CYGWIN') && !~path.indexOf(root)) {
process.env.PATH = root + ':' + path;
}
// Assign raw api to module
var rawApi = require('./build/emscripten/nodegit');
// Set the exports prototype to the raw API.
exports.__proto__ = rawApi;
// Import extensions
//require('./lib/commit.js');
//require('./lib/blob.js');
//require('./lib/object.js');
//require('./lib/signature.js');
//require('./lib/odb.js');
//require('./lib/oid.js');
//require('./lib/index.js');
//require('./lib/repository.js');
//require('./lib/reference.js');
//require('./lib/revwalk.js');
//require('./lib/tree.js');
// Set version
exports.version = require('./package').version;
// Initialize threads
//exports.Threads.init();
var glob = typeof window !== "undefined" ? window : global;
glob.nodegit = exports;
Morty Proxy This is a proxified and sanitized view of the page, visit original site.