How to use the paperwork-backend.paperwork_backend.fs.GioFileSystem function in paperwork-backend

To help you get started, we’ve selected a few paperwork-backend examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github openpaperwork / paperwork / paperwork-backend / paperwork_backend / index.py View on Github external
def __init__(self):
        self.fs = GioFileSystem()

        self.indexdir = None
        self.index = None
        self.label_guesser_dir = None
        self._docs_by_id = {}  # docid --> doc
        self.labels = {}  # label name --> label
        self.__searcher = None
        self.label_guesser = None
        self.search_param_list = {}
        self.label_guesser = None
        self.rootdir = None
        self.opened = False
        self.running = True

        self.reload_index_data = {}
        self.examine_rootdir_data = {}