Closed
Bug 1663707
Opened 5 years ago
Closed 5 years ago
Support appending in IOUtils.writeAtomic
Categories
(Toolkit Graveyard :: OS.File, task, P3)
Toolkit Graveyard
OS.File
Tracking
(firefox90 fixed)
RESOLVED
FIXED
90 Branch
| Tracking | Status | |
|---|---|---|
| firefox90 | --- | fixed |
People
(Reporter: beth, Assigned: beth)
References
Details
Attachments
(1 file)
IOUtils.writeAtomic does not expose a way to append to a file instead of just overwriting it.
| Assignee | ||
Comment 1•5 years ago
|
||
IOUtils.write{,UTF8,JSON} now support multiple writing modes:
- overwrite, where the contents of the file will be overwritten and a new file
will be created if it does not exist (the old default), - create, where the file cannot exist and it will be created during the
operation; and - append, where the file will be appended to.
Depends on D111734
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/392517e43f81
Support multiple modes for IOUtils.write methods r=emalysz
Comment 3•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Updated•3 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•