|
Code forensics
0.1
Generate historical information about code changes
|
runtime configuration state object More...
#include <program_state.hpp>
Public Types | |
| enum | threading_mode { async, defer, sequential } |
Public Member Functions | |
| bool | use_analytics (Analytics which) const |
Public Attributes | |
| bool | use_subprocess = true |
| threading_mode | use_threading = threading_mode::async |
| Str | repo |
| Current project root path (absolute path) More... | |
| Str | heads |
| Which repository branch to use. More... | |
| Vec< Analytics > | analytics |
| Str | db_path |
| bool | try_incremental |
| bool | log_progress_bars |
| Func< bool(CR< Str >)> | allow_path |
| Allow processing of a specific path in the repository. More... | |
| Func< int(CR< PTime >)> | get_commit_period |
| Get integer index of the period for Date. More... | |
| Func< int(CR< PTime >)> | get_sampled_period |
| Func< bool(CR< PTime >, CR< Str >, CR< Str >)> | allow_sample |
| Check whether commits at the specified date should be analysed. More... | |
runtime configuration state object
|
inline |
| Func<bool(CR<Str>)> walker_config::allow_path |
Allow processing of a specific path in the repository.
| Func<bool(CR<PTime>, CR<Str>, CR<Str>)> walker_config::allow_sample |
Check whether commits at the specified date should be analysed.
| Vec<Analytics> walker_config::analytics |
| Str walker_config::db_path |
| Func<int(CR<PTime>)> walker_config::get_commit_period |
Get integer index of the period for Date.
| Func<int(CR<PTime>)> walker_config::get_sampled_period |
| Str walker_config::heads |
Which repository branch to use.
| bool walker_config::log_progress_bars |
| Str walker_config::repo |
Current project root path (absolute path)
| bool walker_config::try_incremental |
| bool walker_config::use_subprocess = true |
Analyse commits via subprocess launches or via libgit blame execution
| threading_mode walker_config::use_threading = threading_mode::async |