| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/melodypro/nodegit-example/master/open.js | [Back] [Original] |
'use strict';
const Git = require("nodegit");
const cnst = require('./constant');
Git.Repository.open(cnst.cur_git_path)
.then((repo) => {
console.log('repo done, repo.workdir', repo.workdir());
repo.free();
})
.catch((e) => {
console.log(e);
});
| Web Proxy Viewer | New URL | Original Page |