MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / capabilities

Function capabilities

rust/stringzilla.rs:837–840  ·  view source on GitHub ↗

Copies the capabilities C-string into a fixed buffer and returns it. The returned SmallCString is guaranteed to be null-terminated.

()

Source from the content-addressed store, hash-verified

835/// Copies the capabilities C-string into a fixed buffer and returns it.
836/// The returned SmallCString is guaranteed to be null-terminated.
837pub fn capabilities() -> SmallCString {
838 let caps = unsafe { sz_capabilities() };
839 capabilities_from_enum(caps)
840}
841
842/// Computes the checksum value of unsigned bytes in a given byte slice `text`.
843/// This function is useful for verifying data integrity and detecting changes in

Callers

nothing calls this directly

Calls 1

capabilities_from_enumFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…