Foundry.GitBlame¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class Foundry.GitBlame(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Git implementation of blame information for version control files.
Foundry.GitBlameprovides Git-specific functionality for retrieving and managing blame information for files in version control. It handles blame data retrieval, caching, and provides efficient access to authorship and modification information for code analysis and display.- dup_commit_id(line)¶
- Parameters:
line (
int) – the line number (0-indexed)- Returns:
a newly allocated string containing the commit ID, or
Noneif the line is not found or not tracked- Return type:
Gets the commit ID string for the given line number from the blame information.
The commit ID is the hash of the commit that last modified the line.
New in version 1.1.