Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GraphLite-AI/GraphLite
/ with_ttl
Method
with_ttl
graphlite/src/cache/mod.rs:68–71 ·
view source on GitHub ↗
(mut self, ttl: Duration)
Source
from the content-addressed store, hash-verified
66
}
67
68
pub fn with_ttl(mut self, ttl: Duration) -> Self {
69
self.ttl = Some(ttl);
70
self
71
}
72
73
pub fn with_tags(mut self, tags: Vec<String>) -> Self {
74
self.tags = tags;
Callers
2
insert
Method · 0.80
insert
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected