Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AppFlowy-IO/AppFlowy-Collab
/ as_map
Method
as_map
collab/src/util.rs:24–26 ·
view source on GitHub ↗
(&self)
Source
from the content-addressed store, hash-verified
22
pub trait MapExt: Map {
23
#[inline]
24
fn as_map(&self) -> MapRef {
25
MapRef::from(BranchPtr::from(self.as_ref()))
26
}
27
28
fn get_id(&self, txn: &impl ReadTxn) -> Option<Arc<str>> {
29
let out = self.get(txn,
"id"
)?;
Callers
3
get_value_with_path
Method · 0.80
insert_with_path
Method · 0.80
remove_with_path
Method · 0.80
Implementers
1
util.rs
collab/src/util.rs
Calls
1
as_ref
Method · 0.45
Tested by
no test coverage detected