smartgit/ts/smartgit.commit.ts
2016-03-31 01:26:40 +02:00

9 lines
250 B
TypeScript

/// <reference path="./typings/main.d.ts" />
import plugins = require("./smartgit.plugins");
export = function(pathArg:string,commitMessage:string) {
var result = plugins.nodegit.index.addByPath(pathArg);
if (result == 0) {
}
};