|
|
|
__repr__(self)
Returns a representation of this instance with the filename and
root. |
source code
|
|
|
|
string
|
getId(self)
Returns the id for this content item--in this case, it's the
filename. |
source code
|
|
string
|
|
varies
|
|
|
|
varies
|
|
|
|
|
addToCache(self,
entryid,
data)
Over-writes the cached dict for key entryid with the data
dict. |
source code
|
|
varies
|
get(self,
key,
default=None)
Retrieves an item from the internal dict based on the key
given. |
source code
|
|
dict or None
|
getFromCache(self,
entryid)
Retrieves information from the cache that pertains to this
specific entryid. |
source code
|
|
list of strings
|
|
boolean
|
|
list of varies
|
keys(self)
Returns a list of the keys that can be accessed through
__getitem__. |
source code
|
|
|
|
|
|
|
setTime(self,
timetuple)
This takes in a given time tuple and sets all the magic metadata
variables we have according to the items in the time tuple. |
source code
|
|
|
update(self,
newdict)
Updates the contents in this entry with the contents in the
dict. |
source code
|
|