MCPcopy
hub / github.com/desktop/desktop / IGitProgressParser

Interface IGitProgressParser

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

Source from the content-addressed store, hash-verified

147 * progress events between 0 and 100%.
148 */
149export interface IGitProgressParser {
150 /**
151 * Parse the given line of output from Git, returns either an `IGitProgress`
152 * instance if the line could successfully be parsed as a Git progress
153 * event whose title was registered with this parser or an `IGitOutput`
154 * instance if the line couldn't be parsed or if the title wasn't
155 * registered with the parser.
156 */
157 parse(line: string): IGitProgress | IGitOutput
158}
159
160/**
161 * A utility class for interpreting progress output from `git`

Callers 8

fetchPRFunction · 0.65
readPackageJSONFunction · 0.65
readOptionalPackageJSONFunction · 0.65
getChangelogEntriesSinceFunction · 0.65
commandPrepareFunction · 0.65
assertNextFunction · 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