MCPcopy Create free account
hub / github.com/apache/datafusion / with_time_provider

Method with_time_provider

datafusion/execution/src/cache/list_files_cache.rs:90–93  ·  view source on GitHub ↗
(mut self, provider: Arc<dyn TimeProvider>)

Source from the content-addressed store, hash-verified

88
89 #[cfg(test)]
90 pub(crate) fn with_time_provider(mut self, provider: Arc<dyn TimeProvider>) -> Self {
91 self.time_provider = provider;
92 self
93 }
94}
95
96#[derive(Clone, PartialEq, Debug)]

Callers 2

test_cache_with_ttlFunction · 0.80

Calls

no outgoing calls

Tested by 2

test_cache_with_ttlFunction · 0.64