MCPcopy Create free account
hub / github.com/Botloader/botloader / get_items

Method get_items

components/webapi/src/news_poller.rs:127–130  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

125
126impl NewsHandle {
127 pub fn get_items(&self) -> Arc<Vec<NewsItem>> {
128 let handle = self.items.read().unwrap();
129 (*handle).clone()
130 }
131}
132
133#[derive(Serialize)]

Callers 1

get_newsFunction · 0.80

Calls 1

readMethod · 0.65

Tested by

no test coverage detected