Skip to main content

open_root

Function open_root 

Source
pub fn open_root(key: RootKey) -> Result<Arc<SharedRootHandle>, (u8, String)>
Expand description

Open (or join) the shared root for key, arming a native watcher on first open — before the initial enumeration, so nothing slips between scan and event delivery. On failure returns an FS_STATUS_* code plus diagnostic, so the server can answer FS_SYNCED accurately.