def _convert_path(path, name):
table = os.path.splitext(path)[<NUM_LIT:0>]<EOL>table = table.replace(os.path.sep, '<STR_LIT>')<EOL>if name is not None:<EOL><INDENT>table = '<STR_LIT>'.join([table, name])<EOL><DEDENT>table = re.sub('<STR_LIT>', '<STR_LIT:_>', table)<EOL>table = table.lower()<EOL>return table<EOL>
Convert resource's path and name to storage's table name.

    Args:
        path (str): resource path
        name (str): resource name

    Returns:
        str: table name