[gnome-builder] code-index: make directory tree before writing files
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] code-index: make directory tree before writing files
- Date: Tue, 5 Feb 2019 06:17:07 +0000 (UTC)
commit feff96d68be73cc04a1219d40b19fb226fffdc2b
Author: Christian Hergert <chergert redhat com>
Date: Sat Feb 2 01:47:41 2019 -0800
code-index: make directory tree before writing files
src/plugins/code-index/gbp-code-index-builder.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/code-index/gbp-code-index-builder.c b/src/plugins/code-index/gbp-code-index-builder.c
index fe79fe764..e27e2797d 100644
--- a/src/plugins/code-index/gbp-code-index-builder.c
+++ b/src/plugins/code-index/gbp-code-index-builder.c
@@ -481,6 +481,8 @@ gbp_code_index_builder_persist_async (GbpCodeIndexBuilder *self,
file = g_file_get_child (self->index_dir, "SymbolKeys");
+ g_file_make_directory_with_parents (self->index_dir, cancellable, NULL);
+
ide_persistent_map_builder_write_async (self->map,
file,
G_PRIORITY_DEFAULT,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]