Skip to content

Commit

Permalink
doc: clarify change to File.Sync on macOS
Browse files Browse the repository at this point in the history
Updates #26650

Change-Id: I0ec070127dcacc7fc68dd5baf125eb762e1ea846
Reviewed-on: https://go-review.googlesource.com/c/155038
Reviewed-by: Bryan C. Mills <[email protected]>
  • Loading branch information
ianlancetaylor committed Dec 20, 2018
1 parent 706b54b commit 90dca98
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/go1.12.html
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,8 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>

<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 -->
Expand Down

0 comments on commit 90dca98

Please sign in to comment.