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

Function afterWriteFn

test/tests/stage.js:298–301  ·  view source on GitHub ↗
(repo, fileName)

Source from the content-addressed store, hash-verified

296 var index;
297
298 function afterWriteFn(repo, fileName) {
299 return fse.chmod(path.join(repo.workdir(), fileName),
300 0755 /* new filemode */);
301 }
302
303 return createAndCommitFiles(
304 test.repository, fileName, fileContent, afterWriteFn

Callers 1

createAndCommitFilesFunction · 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…