Re: use libcurl to obtain the real-time speed of git clone.
Date: Tue, 18 Feb 2020 17:34:10 +0800
Daniel Stenberg <daniel_at_haxx.se> 于2020年2月18日周二 下午3:03写道:
>
> On Tue, 18 Feb 2020, Hongyi Zhao via curl-library wrote:
>
> > The git is based on libcurl. I want to know whether can I use libcurl to
> > obtain the real-time speed of git clone.
>
> Yes, git uses libcurl when you clone/checkout over HTTP(S).
Do you mean, the git-clone over ssh don't use libcurl?
> So yes, git should
> be able to show you the current download speed with libcurl. Doesn't it
> already do this?
Yes.
But I want to use libcurl to do more self-customized jobs.
>
> This is probably a question better targeted to git developers. It's not really
> about libcurl but using libcurl with git.
>
> --
>
> / daniel.haxx.se | Commercial curl support up to 24x7 is available!
> | Private help, bug fixes, support, ports, new features
> | https://www.wolfssl.com/contact/
-- Hongsheng Zhao <hongyi.zhao_at_gmail.com> Institute of Semiconductors, Chinese Academy of Sciences GnuPG DSA: 0xD108493 ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2020-02-18