Closed
Bug 1660843
Opened 4 years ago
Closed 4 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: barret, NeedInfo)
References
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
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•4 years ago
|
||
Support for this in IOUtils will rely on nsLocalFile
exposing a method to query the file creation time.
Comment 2•4 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•4 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•4 years ago
|
Assignee: nobody → brennie
Assignee | ||
Comment 4•4 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•4 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 4 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
•