CopyEnsureFile extension
Copy a file and create corresponding folders if necessary.
- on
Methods
-
copyEnsureSync(
String newPath) → void -
Available on File, provided by the CopyEnsureFile extension
Copy the file and create corresponding folders if necessary, to ensure that all folders in thenewPathexists, that the file can be copied safely.