MCPcopy Create free account
hub / github.com/acking-you/static_flow / parse_article_kind

Function parse_article_kind

crates/store/src/lancedb_api.rs:2666–2671  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

2664}
2665
2666fn parse_article_kind(value: &str) -> ArticleKind {
2667 match value.trim() {
2668 "interactive_repost" => ArticleKind::InteractiveRepost,
2669 _ => ArticleKind::Markdown,
2670 }
2671}
2672
2673fn batches_to_images(batches: &[RecordBatch]) -> Result<Vec<ImageInfo>> {
2674 let mut images = Vec::new();

Callers

nothing calls this directly

Calls 1

trimMethod · 0.80

Tested by

no test coverage detected