Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
126
impl 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_news
Function · 0.80
Calls
1
read
Method · 0.65
Tested by
no test coverage detected