def extract_data(inputdirs): "Lay out the filesystem structure on the dirs and dump database data there." for inputdir in inputdirs: mapping = DBMap(inputdir) mapping.extract_records()
def check_db(inputdirs): """Test whether the filesystem and the database have the same information.""" for inputdir in inputdirs: mapping = DBMap(inputdir) mapping.test()