Closed Bug 1650898 Opened 4 years ago Closed 4 years ago

Implement tmpFile and backupFile options in IOUtils::writeAtomic

Categories

(Toolkit Graveyard :: OS.File, task)

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: mail, Assigned: mail)

References

Details

Attachments

(1 file)

The current version of IOUtils::writeAtomic accepts, but does not implement the tmpFile nor backupFile options which exist in OS.File. These options should be implemented.

Assignee: nobody → krourke
Depends on: 1650227

This patch refactors the existing IOUtils::writeAtomic method to add support for the tmpPath and backupFile options.

Depends on D82202

Attachment #9161989 - Attachment description: Bug 1650898: Implement tmpFile and backup options for IOUtils::writeAtomic r=barret,Gijs → Bug 1650898: Implement tmpPath and backupFile options for IOUtils::writeAtomic r=barret,Gijs
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2809655ba642
Implement tmpPath and backupFile options for IOUtils::writeAtomic r=barret,Gijs
Backout by ncsoregi@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cfd5ede7df08
Backed out 3 changesets (bug 1650898, bug 1651742, bug 1650227) for bustage on IOUtils.cpp. CLOSED TREE
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/05cc41de2d0f
Implement tmpPath and backupFile options for IOUtils::writeAtomic r=barret,Gijs
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: