Add FUSE APIs to read email
Closed this issue · 1 comments
lucastliu commented
-
store the
message id
in thestat
data structure, and when user callcat filename
, using thestat
to get themessage id
-
read()
inGmailfs
class
- call gmail API to request a specific message in
full
format (get_mime_message) - use
f.write()
write into actual file - read the actual file to display the content
ruji-xie-467 commented
- Implemented FUSE API read() and open()
- Store the MIME string data (
str(mime)
) in a user-specified local directory (specified by the first parameter)
Problems:
- Need more clarification on
stat
in the first point. - What kinds of data we want to store? I thought the MIME dictionary string is fine at this step. Please feel free to leave any comments and advice