Skip to main content

try_data_dir

Function try_data_dir 

Source
pub fn try_data_dir() -> Result<Option<PathBuf>>
Expand description

Resolve the data directory while reporting an invalid instance namespace.

Deployment-owned storage must use this checked variant so a malformed HYPRSTREAM_INSTANCE cannot be mistaken for an unavailable data directory.