summaryrefslogtreecommitdiff
path: root/metadata/metatree.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-06-23 16:27:17 +0200
committerAlexander Larsson <alexl@redhat.com>2009-06-23 16:29:47 +0200
commit192d3a7db50e42ad40aea8311e1994f53a1efdc0 (patch)
tree909dcfb954f557e1c7ce5b231c18963c7bdb2a56 /metadata/metatree.h
parent576f893d4d75900d777f76450ccf5784641908ce (diff)
downloadgvfs-192d3a7db50e42ad40aea8311e1994f53a1efdc0.tar.gz
Allow MetaTree open to succeed with no file
You can check with meta_tree_exists if the file actually exists. This means that lookups work better for the initial set for a non-existing file.
Diffstat (limited to 'metadata/metatree.h')
-rw-r--r--metadata/metatree.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/metadata/metatree.h b/metadata/metatree.h
index a5bbab72..325e6fe9 100644
--- a/metadata/metatree.h
+++ b/metadata/metatree.h
@@ -40,6 +40,7 @@ MetaTree * meta_tree_ref (MetaTree *tree);
void meta_tree_unref (MetaTree *tree);
void meta_tree_refresh (MetaTree *tree);
const char *meta_tree_get_filename (MetaTree *tree);
+gboolean meta_tree_exists (MetaTree *tree);
MetaKeyType meta_tree_lookup_key_type (MetaTree *tree,
const char *path,