pub unsafe extern "C" fn llama_split_prefix(
split_prefix: *mut c_char,
maxlen: usize,
split_path: *const c_char,
split_no: c_int,
split_count: c_int,
) -> c_int
Expand description
@details Extract the path prefix from the split_path if and only if the split_no and split_count match. llama_split_prefix(split_prefix, 64, “/models/ggml-model-q4_0-00002-of-00004.gguf”, 2, 4) => split_prefix = “/models/ggml-model-q4_0”