[gvfs/metadata: 4/12] More API ideas described
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gvfs/metadata: 4/12] More API ideas described
- Date: Thu, 18 Jun 2009 11:38:20 -0400 (EDT)
commit 247b53993e0eb66c459413cefb90338d9a956f29
Author: Alexander Larsson <alexl redhat com>
Date: Thu Jun 18 09:07:11 2009 +0200
More API ideas described
metadata/API | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/metadata/API b/metadata/API
index d8c8b65..8779d2a 100644
--- a/metadata/API
+++ b/metadata/API
@@ -5,18 +5,26 @@ usecases:
gio - query_info for local/gvfs path
gio - enumerate for local/gvfs path, get info for all children
This can get all or selected keys
+also want async ops for gvfs async ops, via dbus reads, same uses
tracker
enumerate whole tree, look at mtime
+Even for non-mounted trees
nautilus
get value by key + path
+Can use gio/gvfs as the API
+gio extensions:
+need extension for local file metadata reading and writing
+for gvfs, put in GDaemonVfs, one tree per mountspec
Ideas:
Redo things always, use dentry cache for non-leaf path lookups
callback for enumerate
+add ref/unref for trees
+
Questions:
-How to handle strings vs lists in API?
+How to handle strings vs lists in API? There is no such thing in GFileInfo...
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]