MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / empty_text

Function empty_text

nodedb-query/src/chunk_text.rs:409–412  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

407
408 #[test]
409 fn empty_text() {
410 let chunks = chunk_text("", 10, 0, ChunkStrategy::Character).unwrap();
411 assert!(chunks.is_empty());
412 }
413
414 #[test]
415 fn text_smaller_than_chunk() {

Callers

nothing calls this directly

Calls 1

chunk_textFunction · 0.85

Tested by

no test coverage detected