Closed Bug 1655461 Opened 5 years ago Closed 5 years ago

Port OS.File copy to C++

Categories

(Toolkit Graveyard :: OS.File, task)

Tracking

(firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: mail, Assigned: mail)

References

Details

Attachments

(1 file)

Part of larger work to port OS.File to C++, we need a static method in the IOUtils interface which can change copy files.

Assignee: nobody → krourke

This change introduces a copy method to the IOUtils interface which acts much
like the POSIX cp command (with the -r flag).

The implementations for move and copy would be very similar, so these methods
share an implementation.

Pushed by brennie@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/07b454734612 Implement IOUtils::copy method r=barret,Gijs
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
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: