MCPcopy Index your code
hub / github.com/AI45Lab/Code / with_search_enabled

Method with_search_enabled

core/src/workspace/s3.rs:328–331  ·  view source on GitHub ↗

Enable or disable degraded `grep` / `glob` against this backend. See [`S3BackendConfig::search_enabled`] for cost trade-offs.

(mut self, enabled: bool)

Source from the content-addressed store, hash-verified

326 /// Enable or disable degraded `grep` / `glob` against this backend.
327 /// See [`S3BackendConfig::search_enabled`] for cost trade-offs.
328 pub fn with_search_enabled(mut self, enabled: bool) -> Self {
329 self.search_enabled = enabled;
330 self
331 }
332
333 /// Whether this backend exposes [`WorkspaceSearch`].
334 pub fn search_enabled(&self) -> bool {

Callers 1

newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected