Skip to main content

parse_path

Function parse_path 

Source
pub fn parse_path(path: &str) -> Result<ParsedPath>
Expand description

Parse a path string into a ParsedPath

Remote paths have the format: alias/bucket[/key] Local paths are anything that:

  • Starts with / (absolute path)
  • Starts with ./ or ../ (relative path)
  • Contains no / (could be local file in current directory)
  • Or doesn’t match the alias/bucket pattern