+ if (File.isDirectory(srcPath) && !File.isDirectory(destPath)) {
+ File.mkdir(destPath);
+ continue;
+ }
+ // source is not file..?!?!?
+ if (!File.isFile(srcPath)) {
+ continue;
+ }
+ if (File.isFile(destPath) && opts == Gio.FileCopyFlags.NONE) {
+ // do not overwrite.. - if file exists and we are not flaged to overwrite.
+ continue;
+ }
+