pub fn to_display_path(
loc: &S3Location,
profile_display_name: &str,
) -> DisplayPathExpand description
Build a DisplayPath from an S3Location.
The profile display name is passed in as a &str because it lives in the
profile store, not in S3Location. Segments are split on / and empty
strings are filtered out so trailing slashes and double-slashes do not
produce empty breadcrumb items.