mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
lib/fs: typo fix in comment to WriteFileAtomically
This commit is contained in:
parent
971206b514
commit
04e48ef064
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ var tmpFileNum uint64
|
|||
|
||||
// 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.
|
||||
func WriteFileAtomically(path string, data []byte) error {
|
||||
// Check for the existing file. It is expected that
|
||||
|
|
Loading…
Reference in a new issue