Skip to content

Commit

Permalink
chore: makes SyncReason public (as expected) (#1756)
Browse files Browse the repository at this point in the history
## Description

`SyncReason` is a public enum, but it is never exported from its private
module.

We don't use `SyncReason` currently in the cli or console, but if other
applications have use for it, we need to make it public. Also, allows us
to using it in the ffi bindings.
  • Loading branch information
ramfox committed Oct 28, 2023
1 parent f4735c6 commit dff946c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iroh/src/sync_engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use gossip::GossipActor;
use live::{LiveActor, ToLiveActor};

pub use self::live::SyncEvent;
pub use self::state::Origin;
pub use self::state::{Origin, SyncReason};
pub use iroh_sync::net::SYNC_ALPN;

/// Capacity of the channel for the [`ToLiveActor`] messages.
Expand Down

0 comments on commit dff946c

Please sign in to comment.