[][src]Function lilv_sys::lilv_state_delete

pub unsafe extern "C" fn lilv_state_delete(
    world: *mut LilvWorld,
    state: *const LilvState
) -> c_int

Unload a state from the world and delete all associated files. @param world The world. @param state State to remove from the system.

This function DELETES FILES/DIRECTORIES FROM THE FILESYSTEM! It is intended for removing user-saved presets, but can delete any state the user has permission to delete, including presets shipped with plugins.

The rdfs:seeAlso file for the state will be removed. The entry in the bundle's manifest.ttl is removed, and if this results in an empty manifest, then the manifest file is removed. If this results in an empty bundle, then the bundle directory is removed as well.