go-git icon indicating copy to clipboard operation
go-git copied to clipboard

Simplify writer for filesystem compatibility

Open emcfarlane opened this issue 3 years ago • 0 comments

This simplifies the writer to fully flush the file to disk before reading. The issue was found when creating a billy.FS backed by a blob store, where the file isn't readable until written. I'm not aware of any benchmarks that this could affect but would assume it to be slightly slower.

emcfarlane avatar Jun 06 '22 23:06 emcfarlane