Skip to main content

gitstack/
lib.rs

1pub mod app;
2pub mod event;
3pub mod filter;
4pub mod git;
5pub mod graph;
6pub mod stats;
7pub mod suggestion;
8pub mod topology;
9pub mod tui;
10
11pub use app::{App, CommitType, InputMode, ViewMode};
12pub use event::{GitEvent, GitEventKind};
13pub use filter::FilterQuery;
14pub use git::{
15    checkout_branch, checkout_branch_in_repo, create_commit, create_commit_in_repo,
16    fetch_remote_at_path, get_commit_diff, get_commit_diff_from_repo, get_commit_files,
17    get_commit_files_from_repo, get_head_hash, get_head_hash_cached, get_head_hash_from_repo,
18    get_index_mtime, get_index_mtime_cached, get_index_mtime_from_repo, get_repo_info_cached,
19    get_status, get_status_cached, get_status_from_repo, has_staged_files,
20    has_staged_files_in_repo, list_branches, list_branches_cached, list_branches_from_repo,
21    load_events, load_events_from_repo, push, push_in_repo, stage_all, stage_all_in_repo,
22    stage_file, stage_file_in_repo, unstage_all, unstage_all_in_repo, unstage_file,
23    unstage_file_in_repo, CommitDiff, FileChange, FileChangeStatus, FileStatus, FileStatusKind,
24    RepoInfo,
25};
26pub use graph::{build_graph, get_graph_color, GraphCell, GraphLayout, GraphRow};
27pub use stats::{
28    calculate_file_heatmap, calculate_stats, AuthorStats, FileHeatmap, FileHeatmapEntry, RepoStats,
29};
30pub use suggestion::{generate_suggestions, CommitSuggestion};
31pub use topology::{
32    analyze_topology, analyze_topology_from_repo, BranchRelation, BranchStatus, BranchTopology,
33    TopologyBranch, TopologyConfig,
34};