Skip to main content

open_target

Function open_target 

pub fn open_target(spec: &str) -> Result<Arc<dyn Target>>
Expand description

Opens a target from a command-line description: a directory path (or file:///path), or with the s3 feature s3://bucket/prefix (see [crate::backup::s3::S3Target::from_url]).