A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/GitoxideLabs/gitoxide/commit/427274bdf64d30e3bcd330e849ea067e359588fe below:

ref_map()` doesn't finish th… · GitoxideLabs/gitoxide@427274b · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+5

-3

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+5

-3

lines changed Original file line number Diff line number Diff line change

@@ -90,9 +90,11 @@ where

90 90

progress: impl Progress,

91 91

options: Options,

92 92

) -> Result<(fetch::RefMap, gix_protocol::handshake::Outcome), Error> {

93 -

let refmap = self.ref_map_by_ref(progress, options).await;

94 -

let handshake = self.handshake.expect("refmap always performs handshake");

95 -

refmap.map(|map| (map, handshake))

93 +

let refmap = self.ref_map_by_ref(progress, options).await?;

94 +

let handshake = self

95 +

.handshake

96 +

.expect("refmap always performs handshake and stores it if it succeeds");

97 +

Ok((refmap, handshake))

96 98

}

97 99 98 100

#[allow(clippy::result_large_err)]

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4