fn parse_path_segments( url: &Url, ) -> Result<(String, String, Option<String>), FlakeRefError>
flakeref