def __init__(self, fdir, key_conv=None, value_conv=None, c_size=<NUM_LIT:0>):
self.fdir = fdir<EOL>self.fmtime = {}<EOL>self.db = {}<EOL>self.key_conv = key_conv or {}<EOL>self.value_conv = value_conv or {}<EOL>if not os.path.isdir(fdir):<EOL><INDENT>os.makedirs(fdir)<EOL><DEDENT>
:param fdir: The root of the directory
:param key_conv: Converts to/from the key displayed by this class to
users of it to something that can be used as a file name.
The value of key_conv is a dictionary with to keys ['to', 'from']
where the value of 'to' is a function that can be used to convert
the instance key value to the file name. The value of 'from' is a
function that can be used to convert a file name to a key value.
:type key_conv: Dictionary
:param value_conv: As with key_conv you can convert/translate
the value bound to a key in the database to something that can easily
be stored in a file. Like with key_conv the value of this parameter
is a dictionary with the keys ['to', 'from'].
:type value_conv: dictionary