Closed
Bug 1655460
Opened 4 years ago
Closed 4 years ago
Port OS.File setDates to C++
Categories
(Toolkit Graveyard :: OS.File, task)
Toolkit Graveyard
OS.File
Tracking
(firefox82 fixed)
RESOLVED
FIXED
82 Branch
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: mail, Assigned: mail)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
Part of larger work to port OS.File to C++, we need a static method in the IOUtils interface which can change modification times for files.
WebIDL does not have a Date
type, and existing usages of OS.File.setDates outside of tests do not appear to actually supply custom date arguments (thus defaulting to updating the file time stamps to the current date/time).
Given this, IOUtils will implement a touch
method, which updates the timestamps to the current time.
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → krourke
Assignee | ||
Comment 1•4 years ago
|
||
This patch introduces a touch method to the IOUtils method, which allows
callers to update the modification time for a file on disk.
Depends on D86831
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a5aecc7a6469
Implement IOUtils::touch method r=barret,Gijs
Comment 3•4 years ago
|
||
Backed out for perma failures. See https://bugzilla.mozilla.org/show_bug.cgi?id=1660328#c5
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d218098d916f
Implement IOUtils::touch method r=barret,Gijs
Comment 5•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 years ago
status-firefox82:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Updated•1 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•