Crate git_function_history
source ·Re-exports
pub use languages::Language;
pub use types::Commit;
pub use types::FileType;
pub use types::FunctionHistory;
Modules
- code and function related language
- Different types that can extracted from the result of
get_function_history
.
Macros
- Macro to filter a the whole git history, a singe commit, or a file.
- macro to get the history of a function wrapper around the
get_function_history
function
Structs
- used for the
get_function_history
macro internally (you don’t have to touch this)
Enums
- Different filetypes that can be used to ease the process of finding functions using
get_function_history
. path separator is/
. - This is filter enum is used when you want to lookup a function with the filter of filter a previous lookup.
Functions
- Valid filters are:
Filter::CommitId
,Filter::Date
,Filter::DateRange
. - Returns a vec of information such as author, date, email, and message for each commit