Methods
Protected createFileBlame
- createFileBlame(uri: string, blameEntries: Entry[], commitBody: ((sha: string) => Promise<string>)): Promise<GitFileBlame>
Parameters
uri: string
blameEntries: Entry[]
commitBody: ((sha: string) => Promise<string>)
- (sha: string): Promise<string>
Parameters
Returns Promise<string>
parse
- parse(fileUri: string, gitBlameOutput: string, commitBody: ((sha: string) => Promise<string>)): Promise<undefined | GitFileBlame>
Parameters
fileUri: string
gitBlameOutput: string
commitBody: ((sha: string) => Promise<string>)
- (sha: string): Promise<string>
Parameters
Returns Promise<string>
Returns Promise<undefined | GitFileBlame>
Protected parseEntries
- parseEntries(rawOutput: string): Entry[]