Skip to main content

CurrentDirHandle

Type Alias CurrentDirHandle 

Source
pub type CurrentDirHandle = Arc<Mutex<Option<PathBuf>>>;
Expand description

Service handle for the editor’s current working directory. Registered at boot, updated by :cd. Mode-owned handlers (e.g. search gr refresh) look this up via ActionContext to re-resolve the scan root after :cd.

Aliased Type§

pub struct CurrentDirHandle { /* private fields */ }