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

Method enable_search

core/src/workspace/s3.rs:190–193  ·  view source on GitHub ↗

Enable degraded `grep` / `glob` against this S3 backend. Off by default. See the documentation on [`Self::search_enabled`] for cost caveats.

(mut self, enabled: bool)

Source from the content-addressed store, hash-verified

188 /// Enable degraded `grep` / `glob` against this S3 backend. Off by default.
189 /// See the documentation on [`Self::search_enabled`] for cost caveats.
190 pub fn enable_search(mut self, enabled: bool) -> Self {
191 self.search_enabled = enabled;
192 self
193 }
194
195 /// Override the upper bound on objects considered per search. See
196 /// [`DEFAULT_MAX_OBJECTS_SCANNED`]. `0` is treated as the default at

Calls

no outgoing calls