diff options
author | Alexander Larsson <alexl@redhat.com> | 2009-06-23 16:27:17 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2009-06-23 16:29:47 +0200 |
commit | 192d3a7db50e42ad40aea8311e1994f53a1efdc0 (patch) | |
tree | 909dcfb954f557e1c7ce5b231c18963c7bdb2a56 /metadata/metatree.h | |
parent | 576f893d4d75900d777f76450ccf5784641908ce (diff) | |
download | gvfs-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.h | 1 |
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, |