Crate gitcc_core

Source
Expand description

Core functionalities

Re-exports§

pub use time;

Structs§

ChangelogBuildOptions
Changelog build options
ChangelogConfig
Changelog configuration
Commit
A commit
CommitConfig
Commits configuration
CommitHistory
Commit history
Config
Configuration
ConvcoMessage
Conventional commit message
Error
Core error
ReleaseConfig
Release configuration
VersioningConfig
Versioning configuration

Enums§

VersionIncr
The semver version increment

Constants§

CONFIG_DIR_NAME
Config directory name
CONFIG_FILE_NAME
Config file name
TEMPLATE_CHANGELOG_STD
Base changelog template

Traits§

ConvcoMessageExt
Extension trait for conventional messages
StringExt
Additional methods for strings

Functions§

add_all_changes
Add all changes to the index
build_changelog
Builds the changelog
commit_changes
Commits the changes to git
commit_history
Returns the history of all commits
exec_bump_command
Executes a bump command
get_root_dir
Returns the git root directory
git_add_all
Adds all changes to the index
git_status
Checks if the repo has unstaged or untracked files
push_with_tags
Push with tags
set_annotated_tag
Sets an annotated tag to the HEAD

Type Aliases§

StatusShow
Status show option