MCPcopy
hub / github.com/desktop/desktop / parse

Method parse

app/src/lib/progress/git.ts:157–157  ·  view source on GitHub ↗

* Parse the given line of output from Git, returns either an `IGitProgress` * instance if the line could successfully be parsed as a Git progress * event whose title was registered with this parser or an `IGitOutput` * instance if the line couldn't be parsed or if the title wasn't * regi

(line: string)

Source from the content-addressed store, hash-verified

155 * registered with the parser.
156 */
157 parse(line: string): IGitProgress | IGitOutput
158}
159
160/**

Callers 15

fetchPRFunction · 0.65
readPackageJSONFunction · 0.65
readOptionalPackageJSONFunction · 0.65
getChangelogEntriesSinceFunction · 0.65
commandPrepareFunction · 0.65
assertNextFunction · 0.65
git-test.tsFile · 0.65
clone-test.tsFile · 0.65

Implementers 7

GitProgressParserapp/src/lib/progress/git.ts
DiffParserapp/src/lib/diff-parser.ts
GitLFSProgressParserapp/src/lib/progress/lfs.ts
GitCherryPickParserapp/src/lib/git/cherry-pick.ts
GitRebaseParserapp/src/lib/git/rebase.ts
ActionsLogParserapp/src/lib/actions-log-parser/action-
GitAuthorapp/src/models/git-author.ts

Calls

no outgoing calls

Tested by

no test coverage detected