Skip to main content

session_dir

Function session_dir 

Source
pub fn session_dir(fallback_root: &Path, session_id: &str) -> PathBuf
Expand description

<root>/.visdom/sessions/<session_id> for session_id (or the .tracevault/ one an earlier release started it in), where root is the session’s recorded storage_root, else fallback_root (the root resolved from the caller’s working directory). Every reader and writer of a session dir goes through this, so a session is found where its hook keeps it.