(self, path, supports_mmap=True, readonly=False, debug=False)
:param path: a path to a directory.
        :param supports_mmap: if True (the default), use the ``mmap`` module to
            open memory mapped files. You can open the storage object with
            ``supports_mmap=False`` to force Whoosh to open files normally
            instead of with ``mmap``.
        :param readonly: If ``True``, the object will raise an exception if you
            attempt to create or rename a file.
:param path: a path to a directory.
        :param supports_mmap: if True (the default), use the ``mmap`` module to
            open memory mapped files. You can open the storage object with
            ``supports_mmap=False`` to force Whoosh to open files normally
            instead of with ``mmap``.
        :param readonly: If ``True``, the object will raise an exception if you
            attempt to create or rename a file.
: param path : a path to a directory . : param supports_mmap : if True ( the default ) use the mmap module to open memory mapped files . You can open the storage object with supports_mmap = False to force Whoosh to open files normally instead of with mmap . : param readonly : If True the object will raise an exception if you attempt to create or rename a file .
def __init__(self, path, supports_mmap=True, readonly=False, debug=False):
        """
        :param path: a path to a directory.
        :param supports_mmap: if True (the default), use the ``mmap`` module to
            open memory mapped files. You can open the storage object with
            ``supports_mmap=False`` to force Whoosh to open files normally
            instead of with ``mmap``.
        :param readonly: If ``True``, the object will raise an exception if you
            attempt to create or rename a file.
        """

        self.folder = path
        self.supports_mmap = supports_mmap
        self.readonly = readonly
        self._debug = debug
        self.locks = {}
def __init__ ( self , path , supports_mmap = True , readonly = False , debug = False ) : self . folder = path self . supports_mmap = supports_mmap self . readonly = readonly self . _debug = debug self . locks = { }