Skip to main content

git_sync_rs/
lib.rs

1pub mod config;
2pub mod error;
3pub mod sync;
4#[cfg(feature = "tray")]
5pub mod tray;
6pub mod watch;
7
8pub use config::{Config, ConfigLoader, DefaultConfig, RepositoryConfig};
9pub use error::{Result, SyncError};
10pub use sync::{
11    CommandGitTransport, CommitOutcome, FallbackState, GitTransport, RepositoryState,
12    RepositorySynchronizer, SyncConfig, SyncState, UnhandledFileState, FALLBACK_BRANCH_PREFIX,
13};
14pub use watch::{watch_with_periodic_sync, WatchConfig, WatchManager};