def update_client_spec_path_cache(self, files):

        # List depot file paths exclude that already cached
        fileArgs = [f['path'] for f in files if f['path'] not in self.client_spec_path_cache]

        if len(fileArgs) == 0:
            return  # All files in cache

        where_result = p4CmdList(["-x", "-", "where"], stdin=fileArgs)
        for res in where_result:
            if "code" in res and res["code"] == "error":
                # assume error is "... file(s) not in client view"
                continue
            if "clientFile" not in res:
                die("No clientFile from 'p4 where %s'" % depot_path)
            if "unmap" in res:
                # it will list all of them, but only one not unmap-ped
                continue
            self.client_spec_path_cache[res['depotFile']] = self.convert_client_path(res["clientFile"])

        # not found files or unmap files set to ""
        for depotFile in fileArgs:
            if depotFile not in self.client_spec_path_cache:
                self.client_spec_path_cache[depotFile] = ""
Check if databaseinfra is working. If not working, raises subclass of GenericDriverError
dataset/ETHPy150Open zulip/zulip/api/integrations/perforce/git_p4.py/View.update_client_spec_path_cache--crossover with--dataset/ETHPy150Open globocom/database-as-a-service/dbaas/drivers/base.py/BaseDriver.check_status