1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:50:22 -07:00

doc: clarify change to File.Sync on macOS

Updates #26650

Change-Id: I0ec070127dcacc7fc68dd5baf125eb762e1ea846
Reviewed-on: https://go-review.googlesource.com/c/155038
Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
Ian Lance Taylor 2018-12-19 07:08:38 -08:00
parent 706b54bb85
commit 90dca98d33

View File

@ -640,7 +640,8 @@ for {
<p><!-- CL 130676 --> <p><!-- CL 130676 -->
<a href="/pkg/os/#File.Sync"><code>File.Sync</code></a> now uses <code>F_FULLFSYNC</code> on macOS <a href="/pkg/os/#File.Sync"><code>File.Sync</code></a> now uses <code>F_FULLFSYNC</code> on macOS
to properly flush content to permanent storage. Note that this might have a negative performance impact. to correctly flush the file contents to permanent storage.
This may cause the method to run more slowly than in previous releases.
</p> </p>
</dl><!-- os --> </dl><!-- os -->