mirage / irmin

Irmin is a distributed database that follows the same design principles as Git
https://irmin.org
ISC License
1.85k stars 157 forks source link

irmin-pack: improve client experience when calling integrity check #2170

Closed metanivek closed 1 year ago

metanivek commented 1 year ago

Feedback from a test by NL using https://github.com/mirage/irmin/pull/2160 during a gc-based snapshot import:

could we have the eager integrity check to be silent (or at least having a flag to configure that)? The current data printed and animations are breaking our snapshot UX

The easiest fix is to add a parameter to Integrity_check.run that turns on|off our Fmt.pfs and progress bar.