Function graphannis_capi::corpusstorage::annis_cs_delete
source · #[no_mangle]
pub extern "C" fn annis_cs_delete(
ptr: *mut CorpusStorage,
corpus: *const c_char,
err: *mut *mut ErrorList
) -> bool
Expand description
Delete a corpus from this corpus storage.
Returns true
if the corpus was successfully deleted and false
if no such corpus existed.
ptr
- The corpus storage object.err
- Pointer to a list of errors. If any error occured, this list will be non-empty.