bgit 0.4.2

User-friendly Git wrapper for beginners, automating essential tasks like adding, committing, and pushing changes. It includes smart rules to avoid common pitfalls, such as accidentally adding sensitive files or directories and has exclusive support for portable hooks!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod error;
mod process;

#[cfg(unix)]
mod unix;
#[cfg(not(any(windows, unix)))]
mod unsupported;
#[cfg(windows)]
mod windows;

// Re-export the main function
// Note: We're only exporting execute_hook_util, not create_hook_error
#[cfg(unix)]
pub use self::unix::execute_hook_util;
#[cfg(not(any(windows, unix)))]
pub use self::unsupported::execute_hook_util;
#[cfg(windows)]
pub use self::windows::execute_hook_util;