pub async fn open(config: FileBlobConfig) -> Result<Self, ExternalError> {
        let base_dir = config.base_dir;
        fs::create_dir_all(&base_dir).await.map_err(Error::from)?;
        Ok(FileBlobMulti { base_dir })
    }
/// Opens the given location for non-exclusive read-write access.
Opens the given location for non-exclusive read-write access.
Opens the given location for non - exclusive read - write access .
pub async fn open(config: FileBlobConfig) -> Result<Self, ExternalError> {
        let base_dir = config.base_dir;
        fs::create_dir_all(&base_dir).await.map_err(Error::from)?;
        Ok(FileBlobMulti { base_dir })
    }
pub async fn open ( config : FileBlobConfig ) -> Result < Self , ExternalError > { let base_dir = config . base_dir ; fs :: create_dir_all ( & base_dir ) . await . map_err ( Error :: from ) ? ; Ok ( FileBlobMulti { base_dir } ) }
Opens the given location for non-exclusive read-write access.
Opens the given location for non - exclusive read - write access .
config
FileBlobConfig
config
FileBlobConfig