22 lines
683 B
Rust
22 lines
683 B
Rust
// file: crates/knowledge-sync-api/src/lib.rs
|
|
// version: 3
|
|
|
|
//! Contracts for provider-neutral repository synchronization signals.
|
|
//!
|
|
//! A signal requests reconciliation of a source. It is not authoritative content and does not
|
|
//! replace resolution of the target Git revision by the Git repository contract.
|
|
|
|
mod event_source;
|
|
mod signal;
|
|
|
|
/// Producer of synchronization signals.
|
|
pub use self::event_source::RepositoryEventSource;
|
|
/// Coarse origin of a synchronization request.
|
|
pub use self::signal::RepositorySyncCause;
|
|
/// Request to reconcile one logical content source.
|
|
pub use self::signal::RepositorySyncSignal;
|
|
|
|
#[cfg(test)]
|
|
#[path = "../unit_tests/lib.rs"]
|
|
mod tests;
|