- Sort Score
- Result 10 results
- Languages All
Results 21 - 21 of 21 for writeToFile (0.11 sec)
-
src/cmd/go/internal/modfetch/fetch.go
if zipExists { return hashZip(mod, zipfile, ziphashfile) } // From here to the os.Rename call below is functionally almost equivalent to // renameio.WriteToFile, with one key difference: we want to validate the // contents of the file (by hashing it) before we commit it. Because the file // is zip-compressed, we need an actual file — or at least an io.ReaderAt — to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 30.3K bytes - Viewed (0)