Skip to main content

DiffSubsystemHandle

Type Alias DiffSubsystemHandle 

Source
pub type DiffSubsystemHandle = Arc<DiffSubsystem>;
Expand description

Cheap-clone service handle for the diff subsystem. DX.3/C7 (BC.6): registered in the ServiceRegistry at boot so diff-mode’s on_activate can reach the session for a buffer (ctx.service::<DiffSubsystemHandle>()) and register a HunkFoldSource via the FoldOverlayService — mirroring how MultibufferMode reaches its MultibufferRegistryHandle. Follows the Arc/TypeId convention: register Arc<DiffSubsystem>, look up Arc<DiffSubsystem>.

Aliased Type§

pub struct DiffSubsystemHandle { /* private fields */ }