Expand description
GitKraft Core
Shared, framework-free logic reused by both the Iced GUI and Ratatui TUI.
| Module | What lives here |
|---|---|
features | Git operations and types grouped by feature — repo, branches, commits, diff, staging, remotes, stash, log |
utils | Helpers — relative time formatting, OID formatting, text truncation |
This crate has NO GUI or TUI dependencies.
Re-exports§
pub use features::branches::BranchInfo;pub use features::branches::BranchType;pub use features::commits::CommitInfo;pub use features::commits::CommitAction;pub use features::commits::CommitActionKind;pub use features::commits::COMMIT_MENU_GROUPS;pub use features::diff::blame_file;pub use features::diff::BlameLine;pub use features::diff::DiffFileEntry;pub use features::diff::DiffHunk;pub use features::diff::DiffInfo;pub use features::diff::DiffLine;pub use features::diff::FileStatus;pub use features::diff::StatusColorCategory;pub use features::editor::open_file_default;pub use features::editor::show_in_folder;pub use features::editor::Editor;pub use features::editor::EDITOR_NAMES;pub use features::graph::GraphEdge;pub use features::graph::GraphRow;pub use features::log::file_history;pub use features::persistence::AppSettings;pub use features::persistence::LayoutSettings;pub use features::persistence::RepoHistoryEntry;pub use features::remotes::RemoteInfo;pub use features::repo::spawn_git_watcher;pub use features::repo::delete_file;pub use features::repo::load_repo_snapshot;pub use features::repo::RepoInfo;pub use features::repo::RepoSnapshot;pub use features::repo::RepoState;pub use features::stash::StashEntry;pub use features::theme::theme_by_index;pub use features::theme::theme_index_by_name;pub use features::theme::AppTheme;pub use features::theme::Rgb;pub use features::theme::THEME_COUNT;pub use features::theme::THEME_NAMES;pub use utils::ascending_range;pub use utils::short_oid_str;pub use utils::text::truncate_str;