react-native-fs icon indicating copy to clipboard operation
react-native-fs copied to clipboard

copyFileAssets does not properly overwrite existing files

Open maxymczech opened this issue 3 years ago • 0 comments

Documentation states that copyFileAssets Will overwrite destPath if it already exists. This is not true. If the new file is smaller than existing, it will replace the first bytes of existing destination file, but will not truncate file size.

maxymczech avatar Apr 20 '22 13:04 maxymczech