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

Function actor

lib/git/commit.js:111–117  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

109
110// Parse the actor and create the object
111var actor = function(line) {
112 var results = line.match(/^.+? (.*) (\d+) .*$/);
113 var actor = results[1];
114 var epoch = results[2];
115 // Return the objects
116 return [Actor.from_string(actor), new Date(parseInt(epoch) * 1000)]
117}
118
119// Convert commit text to list of commits
120Commit.list_from_string = function(repo, text) {

Callers 1

commit.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected