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

Method max_grep_bytes_per_object

core/src/workspace/s3.rs:205–208  ·  view source on GitHub ↗

Override the per-object body-size ceiling for `grep`. See [`DEFAULT_MAX_GREP_BYTES_PER_OBJECT`]. `0` is treated as the default.

(mut self, bytes: u64)

Source from the content-addressed store, hash-verified

203 /// Override the per-object body-size ceiling for `grep`. See
204 /// [`DEFAULT_MAX_GREP_BYTES_PER_OBJECT`]. `0` is treated as the default.
205 pub fn max_grep_bytes_per_object(mut self, bytes: u64) -> Self {
206 self.max_grep_bytes_per_object = Some(bytes);
207 self
208 }
209
210 /// Override the per-search download concurrency. See
211 /// [`DEFAULT_SEARCH_CONCURRENCY`]. `0` resets to the default at backend

Calls

no outgoing calls