#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_store_file(
dir: *const c_char,
) -> *mut PamojaStoreExpand description
Opens a buffer backed by a directory, so it survives a restart.
§Arguments
dir- the directory to hold records in, as null-terminated UTF-8. It is created if it does not exist.
§Returns
A handle the caller must release with pamoja_store_free or hand to a call
that consumes it, or null if the directory cannot be opened.
§Safety
dir must be a valid null-terminated UTF-8 string for the duration of the
call.