Method System.clonefile()
- Method
clonefile
void
clonefile(string
from
,string
to
)- Description
Copy a file
from
with copy-on-write semantics to the destination namedto
.- Note
This function is currently only available on macOS and Linux, and then only when
from
andto
reference a common file system with copy-on-write support (e.g. an APFS volume).- See also