4 .. currentmodule:: notmuch
6 :class:`Filenames` -- An iterator over filenames
7 ------------------------------------------------
9 .. autoclass:: Filenames
11 .. method:: Filenames.__len__
13 :meth:`__len__` was removed in version 0.22 as it exhausted the
14 iterator and broke list(Filenames()). Use `len(list(names))`
17 :class:`Directory` -- A directory entry in the database
18 ------------------------------------------------------
20 .. autoclass:: Directory
22 .. automethod:: Directory.get_child_files
24 .. automethod:: Directory.get_child_directories
26 .. automethod:: Directory.get_mtime
28 .. automethod:: Directory.set_mtime
30 .. autoattribute:: Directory.mtime
32 .. autoattribute:: Directory.path