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 the newPath exists, that the file can be copied safely.