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