Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gcsfs: hide OS files until Close
GCS doesn't show you in-progress files, and I wrote various await functions under that assumption. The local filesystem didn't match that behavior, which led to empty files being read. Emulate GCS by writing to a hidden temp file that's renamed to the real name upon Close. Fixes golang/go#53972. (I hope.) Change-Id: I34ec484128e417c4b9f6c7d0731df5fdabac652b Reviewed-on: https://go-review.googlesource.com/c/build/+/429275 Run-TryBot: Heschi Kreinick <[email protected]> Reviewed-by: Jenny Rakoczy <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Heschi Kreinick <[email protected]>
- Loading branch information