Closed
Bug 1660843
Opened 5 years ago
Closed 5 years ago
Add file creation time to the FileInfo struct returned by IOUtils::stat
Categories
(Toolkit Graveyard :: OS.File, defect)
Toolkit Graveyard
OS.File
Tracking
(firefox85 fixed)
RESOLVED
FIXED
85 Branch
| Tracking | Status | |
|---|---|---|
| firefox85 | --- | fixed |
People
(Reporter: mail, Assigned: beth, NeedInfo)
References
Details
Attachments
(1 file)
Like OS.File.stat, IOUtils.stat should support querying the file creation time on supported platforms.
Support for file creation time varies by platform, so in the existing FileInfo dictionary, we should add a nullable creationTime field, which will have a value on Windows and macOS, but be null on Linux where creation time can't currently be supported.
| Reporter | ||
Comment 1•5 years ago
|
||
Support for this in IOUtils will rely on nsLocalFile exposing a method to query the file creation time.
Comment 2•5 years ago
|
||
The severity field is not set for this bug.
:Yoric, could you have a look please?
For more information, please visit auto_nag documentation.
Flags: needinfo?(dteller)
Flags: needinfo?(dteller) → needinfo?(mail)
| Reporter | ||
Comment 3•5 years ago
|
||
:Yoric I'm back at school now so I might not as quick to reply, but what info do you need from me for this?
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → brennie
| Assignee | ||
Comment 4•5 years ago
|
||
Depends on D96889
Pushed by brennie@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/856ffced8cdf
Return creation time from IOUtils.stat() on supported platforms r=emalysz
Comment 6•5 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Updated•2 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•