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

Method max_objects_scanned

core/src/workspace/s3.rs:198–201  ·  view source on GitHub ↗

Override the upper bound on objects considered per search. See [`DEFAULT_MAX_OBJECTS_SCANNED`]. `0` is treated as the default at backend construction.

(mut self, n: usize)

Source from the content-addressed store, hash-verified

196 /// [`DEFAULT_MAX_OBJECTS_SCANNED`]. `0` is treated as the default at
197 /// backend construction.
198 pub fn max_objects_scanned(mut self, n: usize) -> Self {
199 self.max_objects_scanned = Some(n);
200 self
201 }
202
203 /// Override the per-object body-size ceiling for `grep`. See
204 /// [`DEFAULT_MAX_GREP_BYTES_PER_OBJECT`]. `0` is treated as the default.

Calls

no outgoing calls