mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
pkg: fix tiny docstring typo in ioutil
This commit is contained in:
parent
eaaf98348c
commit
50efd01e34
@ -19,7 +19,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
// WriteAndSyncFile behaviors just like ioutil.WriteFile in standard library
|
// WriteAndSyncFile behaves just like ioutil.WriteFile in the standard library,
|
||||||
// but calls Sync before closing the file. WriteAndSyncFile guarantees the data
|
// but calls Sync before closing the file. WriteAndSyncFile guarantees the data
|
||||||
// is synced if there is no error returned.
|
// is synced if there is no error returned.
|
||||||
func WriteAndSyncFile(filename string, data []byte, perm os.FileMode) error {
|
func WriteAndSyncFile(filename string, data []byte, perm os.FileMode) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user