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
V2 allows effective streaming of the git binary's output using the setOutputHandler method, this enhancement would add a new option for streaming each task independently as an emitter.
constgit=simpleGit();conststatusResult=awaitgit.status();// effectively the same as using setOutputHandler, receives progress from all tasksgit.on('progress',(task,stdOut,stdErr)=>{});// receives only those progress events from the status taskstatusResult.on('progress',(task,stdOut,stdErr)=>{});
The text was updated successfully, but these errors were encountered:
@steveukx Seconding @xiaoxian521's request -- it'd be great if this could be used to show progress of git clone, e.g. with a percentage. To that end, it'd also be necessary to know the total bytes expected to be downloaded. Would you consider adding such a feature? (If there isn't one already, that is 😄)
V2 allows effective streaming of the git binary's output using the
setOutputHandler
method, this enhancement would add a new option for streaming each task independently as an emitter.The text was updated successfully, but these errors were encountered: