You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the download_root::download_root() function uses reqwest to pull down the root.json. reqwest doesn't handle file:/// URLs and so unfortunately this means the function can't be used for local repositories which makes unit tests a bit... tough.
The function should probably (suggested by @tjkirch in #404 ) add a branch, where if url.scheme() is file, we just std::fs::copy it instead.
The text was updated successfully, but these errors were encountered:
Currently the
download_root::download_root()
function usesreqwest
to pull down theroot.json
.reqwest
doesn't handlefile:///
URLs and so unfortunately this means the function can't be used for local repositories which makes unit tests a bit... tough.The function should probably (suggested by @tjkirch in #404 ) add a branch, where if url.scheme() is file, we just std::fs::copy it instead.
The text was updated successfully, but these errors were encountered: