def unregister_file(path, pkg=None, conn=None):  # pylint: disable=W0612
    if conn is None:
        conn = init()

    conn.execute('DELETE FROM files WHERE path=?', (path, ))
Unregister a file from the package database
dataset/ETHPy150Open saltstack/salt/salt/spm/pkgdb/sqlite3.py/unregister_file