Open etamponi opened 6 years ago
Ideally testing the real thing would be better, but reflinks are only supported by CoW filesystems, and I only know btrfs and ocfs2.
A fun way to do it would be to create a blob, format it with btrfs, mount it, prepare
the project and store on that mount... that would work (on linux), but mounting requires root privileges
In order to at least unit-test the reflink path, I would like to use a library like
mockery
to mockchild_process
and be able to runinstallPkgs
withpackageImportMethod: reflink
.