llama_split_path method

int llama_split_path(
  1. Pointer<Char> split_path,
  2. int maxlen,
  3. Pointer<Char> path_prefix,
  4. int split_no,
  5. int split_count,
)

@details Build a split GGUF final path for this chunk. llama_split_path(split_path, sizeof(split_path), "/models/ggml-model-q4_0", 2, 4) => split_path = "/models/ggml-model-q4_0-00002-of-00004.gguf"

Implementation

int llama_split_path(
  ffi.Pointer<ffi.Char> split_path,
  int maxlen,
  ffi.Pointer<ffi.Char> path_prefix,
  int split_no,
  int split_count,
) {
  return _llama_split_path(
    split_path,
    maxlen,
    path_prefix,
    split_no,
    split_count,
  );
}