Skip to main content

notebooks_runtime_dir

Function notebooks_runtime_dir 

Source
pub fn notebooks_runtime_dir(data_dir: Option<&Path>) -> PathBuf
Expand description

Sidecar runtime dir: the generated config (which carries the token) and jupyter runtime files (kernel connection JSONs, cookie secret).

{data_dir}/notebooks-runtime when --data-dir is set, otherwise ./notebooks-runtime (same convention as notebooks_root_dir). Deliberately never the shared system temp dir: two dev clusters would clobber each other’s token-bearing config there.