def clear():
    '''
    Clear out all of the data in the minion datastore, this function is
    destructive!

    CLI Example:

    .. code-block:: bash

        salt '*' data.clear
    '''
    try:
        os.remove(os.path.join(__opts__['cachedir'], 'datastore'))
    except (__HOLE__, OSError):
        pass
    return True
dataset/ETHPy150Open saltstack/salt/salt/modules/data.py/clear