pub fn split_source_id(url: &str) -> (Option<&str>, Cow<'_, str>)Expand description
The source an s3://<id>@bucket/key URL names, and the URL without it. Only S3
(S3-compatible servers repeat bucket names); bucket names cannot contain @, so one
in the first segment is always a source. Other URLs come back unchanged.