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 -->
<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>
</dl><!-- os -->