MCPcopy Index your code
hub / github.com/nodegit/nodegit / reinitialize

Function reinitialize

test/tests/commit.js:23–33  ·  view source on GitHub ↗
(test)

Source from the content-addressed store, hash-verified

21 var oid = "fce88902e66c72b5b93e75bdb5ae717038b221f6";
22
23 function reinitialize(test) {
24 return Repository.open(reposPath)
25 .then(function(repository) {
26 test.repository = repository;
27
28 return repository.getCommit(oid);
29 })
30 .then(function(commit) {
31 test.commit = commit;
32 });
33 }
34
35 function commitFile(repo, fileName, fileContent, commitMessage) {
36 var index;

Callers 1

commit.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…