Skip to main content

copy

Function copy 

Source
pub async fn copy(
    from: &FileSystemDirectoryHandle,
    into: &FileSystemDirectoryHandle,
) -> Result<()>
Expand description

Copy everything from holds into into, directories and all.

Which is what a rename in origin-private storage is: only Chromium has FileSystemHandle.move(), so the bytes travel and the old name is removed behind them.

ยงErrors

As names, and whatever reading or writing an entry refused.