Expand description
Local-filesystem storage-provider construction.
The constructor validates the configured directory and can create it when requested before wrapping it as a provider. Disabled local configurations return no provider. Local-filesystem storage-provider construction.
A configured directory is wrapped by the common provider interface. Empty base paths disable the provider, while optional directory creation happens before the backend is initialized.
Re-exportsยง
use std::fs;๐use std::sync::Arc;๐use object_store::local::LocalFileSystem;๐use tuwunel_core::Result;๐use tuwunel_core::config::StorageProvider;๐use tuwunel_core::config::StorageProviderLocal;๐use tuwunel_core::debug;๐use tuwunel_core::debug;๐use tuwunel_core::debug_info;๐use tuwunel_core::error;๐use tuwunel_core::error;๐use tuwunel_core::trace;๐use super::Provider;๐
Functionsยง
- new ๐
- Builds an enabled local-filesystem provider.