Skip to main content

hard_sync_core/
lib.rs

1pub mod config;
2pub mod drive;
3pub mod ignore;
4pub mod sounds;
5pub mod sync_engine;
6pub mod watcher;
7
8// Config API
9pub use config::{
10    add_pair, get_config_path, get_pair, list_pairs, remove_pair, reset_config,
11    set_source, update_pair, AppConfig, DeleteBehavior, DriveId, PairConfig, SoundConfig,
12    SourceSide,
13};
14
15// Sounds API
16pub use sounds::{play_event_sound, SoundEvent};
17
18// Drive API
19pub use drive::{find_mounted_drive, get_drive_id, list_connected_drives, same_drive, ConnectedDrive};
20
21// Watch API
22pub use watcher::{watch_pair, WatchEvent, WatchHandle};
23
24// Sync API
25pub use sync_engine::{
26    clear_trash, list_trash, sync_pair, SyncError, SyncOperation, SyncOptions, SyncOutcome,
27    SyncReport, TrashEntry,
28};