Skip to main content

storage_root

Function storage_root 

Source
pub fn storage_root(state: &SessionState) -> Option<PathBuf>
Expand description

The session’s recorded SessionState::storage_root, if that directory still exists. Its .tracevault/ may not exist yet: a git root is recorded whether or not it has one, and the stream hook creates it on first use, exactly as it would for an event whose cwd resolved there.