Code forensics  0.1
Generate historical information about code changes
ir::LineData Struct Reference

Unique combination of author+time+content for some line in database. More...

#include <git_ir.hpp>

Inheritance diagram for ir::LineData:

Public Types

using id_type = LineId
 

Public Member Functions

auto operator== (CR< LineData > other) const -> bool
 Line indentation depth. More...
 

Public Attributes

AuthorId author
 
i64 time
 Line author ID. More...
 
StringId content
 Time line was written. More...
 
CommitId commit
 Content of the line. More...
 
int nesting
 

Detailed Description

Unique combination of author+time+content for some line in database.

Single line in a file with all the information that can be relevang for the further analysis. Provides information about the /content/ found at some line. Interned in the main storage.

Member Typedef Documentation

◆ id_type

using ir::LineData::id_type = LineId

Member Function Documentation

◆ operator==()

auto ir::LineData::operator== ( CR< LineData other) const -> bool
inline

Line indentation depth.

Member Data Documentation

◆ author

AuthorId ir::LineData::author

◆ commit

CommitId ir::LineData::commit

Content of the line.

◆ content

StringId ir::LineData::content

Time line was written.

◆ nesting

int ir::LineData::nesting

◆ time

i64 ir::LineData::time

Line author ID.


The documentation for this struct was generated from the following file: