pub fn extract_array_index(
uri: &ArrayUriReference,
) -> Result<Option<usize>, Error>Expand description
Returns the array index (if present) specified in the URI.
For example:
- Returns
Ok(None)for"some/path.star", - Returns
Ok(None)for"some/path.png", - Returns
Ok(Some(10))for"https://example.com/some/path.star#10", - Returns
Errfor"some/path.png#eleven".