Commit Graph

8 Commits

Author SHA1 Message Date
R. Tyler Ballance cc1be35f7f Checkpointing, working on N-ary tree traversal code
Somewhat uncertain how I want to lay out the tree in main()

Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-23 01:51:58 -08:00
R. Tyler Ballance 81423d644f Start working on laying out the pretend-filesystem-tree into an N-ary tree courtesy of GLib
The basic idea is maintain a GHashTable of accounts->trees in imuse.c and allow for the getattr(2), read(2), open(2), readdir(2) calls to navigate the trees appropriately.

Take the following crappy diagram:
              Accounts/
                 |--> (d) github.com
                             |--> (f) NewEmail.template
                             |--> (d) INBOX
                             |         |--> (d) INBOX.other
                             |--> (d) Junk
                             |--> (d) Sent
                                       |--> (f) Some_Email_Subject-(2009-01-16).email

Look at muse_tree.c for more details on how I /think/ this should work

Signed-off-by: R. Tyler Ballance <tyler@monkeypox.org>
2009-01-23 01:12:18 -08:00
R. Tyler Ballance 56dccd76b8 Odd that g_list_find() wasn't properly finding my strings in the GList, fixed.
Now it's at least representing special directories properly, looking at N-ary tree in GLib for properly representing these based on configuration files, etc.

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-01-12 05:17:43 -08:00
R. Tyler Ballance e412e7d868 Working GLib into the equation, mmm hash tables. Working on the special file support (for things like accounts)
while I get a handle on dealing with C again >_<
2009-01-12 05:04:03 -08:00
R. Tyler Ballance 17304ed165 Revert "Switch over to fuse.py, and start with Giorgos' example.py"
This reverts commit 5ead39acfa.
2009-01-12 03:58:22 -08:00
R. Tyler Ballance 5ead39acfa Switch over to fuse.py, and start with Giorgos' example.py
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-01-12 03:34:23 -08:00
R. Tyler Ballance 5cbd2c4dad Add some getattr stuff, think I might just use fusepy or something. C sucks
Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-01-12 03:26:10 -08:00
R. Tyler Ballance 98b3a99ce7 Initial commit, toying around the idea of browsing an IMAP account via FUSE
Basing some of the work on xorgfs from J.R. Mauro <http://github.com/jrm8005/xorgfs/>

Signed-off-by: R. Tyler Ballance <tyler@slide.com>
2009-01-12 03:16:34 -08:00