MCPcopy Index your code
hub / github.com/christkv/node-git / fixture

Function fixture

test/test_git_basic.js:9–11  ·  view source on GitHub ↗
(name, trim)

Source from the content-addressed store, hash-verified

7 GitFileOperations = require('../lib/git').GitFileOperations;
8
9var fixture = function(name, trim) {
10 return trim ? fs.readFileSync("./test/fixtures/" + name, 'ascii').trim() : fs.readFileSync("./test/fixtures/" + name, 'ascii');
11}
12
13// Chomp text removing end carriage returns
14var chomp = function chomp(raw_text) {

Callers 1

test_git_basic.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected