Closed Bug 1678471 Opened 4 years ago Closed 3 years ago

IOUtils: Add equivalent of OS.File.exists

Categories

(Toolkit Graveyard :: OS.File, enhancement, P3)

enhancement

Tracking

(firefox85 fixed)

RESOLVED FIXED
85 Branch
Tracking Status
firefox85 --- fixed

People

(Reporter: barret, Assigned: barret)

References

Details

Attachments

(1 file)

We need an equivalent of OS.File.exists() in IOUils to replace OS.File. This can be achieved currently by doing a IOUtils.stat() and checking for a file not exists error, but that is cumbersome.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: