[gnome-games/wip/exalm/3ds: 1/8] file-operations: Create directory with parents when copying
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games/wip/exalm/3ds: 1/8] file-operations: Create directory with parents when copying
- Date: Sat, 5 Dec 2020 13:57:20 +0000 (UTC)
commit 33a099575d486cd54f2aab24a9e251d2c8626c09
Author: Alexander Mikhaylenko <exalm7659 gmail com>
Date: Sun Nov 8 16:03:46 2020 +0500
file-operations: Create directory with parents when copying
src/utils/file-operations.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/utils/file-operations.vala b/src/utils/file-operations.vala
index 7254c51f..c4a2f5cb 100644
--- a/src/utils/file-operations.vala
+++ b/src/utils/file-operations.vala
@@ -195,7 +195,7 @@ public class Games.FileOperations {
if (src_type == FileType.DIRECTORY) {
if (!dest.query_exists () || !merge_flag) {
- dest.make_directory ();
+ dest.make_directory_with_parents ();
src.copy_attributes (dest, FileCopyFlags.NONE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]