[gnome-games/wip/exalm/3ds: 12/21] 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: 12/21] file-operations: Create directory with parents when copying
- Date: Thu, 10 Dec 2020 19:38:47 +0000 (UTC)
commit 5629be98e0ee8ddfca9d3018b1c8d754077dacfd
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]