Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atomicdotdev/atomic
/ attr
Method
attr
atomic-canonical/src/directive.rs:37–39 ·
view source on GitHub ↗
(&self, key: &str)
Source
from the content-addressed store, hash-verified
35
36
impl Directive {
37
pub fn attr(&self, key: &str) -> Option<&str> {
38
self.attrs.get(key).map(|s| s.as_str())
39
}
40
}
41
42
/// Parse all top-level directives out of a markdown body. Prose outside any
Callers
3
lift_ac
Function · 0.80
lift_task
Function · 0.80
lift_ref
Function · 0.80
Calls
2
get
Method · 0.65
as_str
Method · 0.45
Tested by
no test coverage detected