lib/fs: typo fix in comment to WriteFileAtomically

This commit is contained in:
Aliaksandr Valialkin 2019-10-29 10:41:43 +02:00
parent a638c6d4f8
commit f581b2736a

View File

@ -92,7 +92,7 @@ var tmpFileNum uint64
// WriteFileAtomically atomically writes data to the given file path. // WriteFileAtomically atomically writes data to the given file path.
// //
// WriteFile returns only after the file is fully written and synced // WriteFileAtomically returns only after the file is fully written and synced
// to the underlying storage. // to the underlying storage.
func WriteFileAtomically(path string, data []byte) error { func WriteFileAtomically(path string, data []byte) error {
// Check for the existing file. It is expected that // Check for the existing file. It is expected that