Skip to content
Snippets Groups Projects
Commit e3fa1bc6 authored by Martin Giger's avatar Martin Giger
Browse files

Bug 1704482 - Fix incorrect IOUtils tmpPath documentation. r=barret

parent 35b1cdb7
No related branches found
No related tags found
No related merge requests found
......@@ -54,10 +54,10 @@ namespace IOUtils {
/**
* Attempts to safely write |data| to a file at |path|.
*
* This operation can be made atomic by specifying the |tmpFile| option. If
* This operation can be made atomic by specifying the |tmpPath| option. If
* specified, then this method ensures that the destination file is not
* modified until the data is entirely written to the temporary file, after
* which point the |tmpFile| is moved to the specified |path|.
* which point the |tmpPath| is moved to the specified |path|.
*
* The target file can also be backed up to a |backupFile| before any writes
* are performed to prevent data loss in case of corruption.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment