Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AI45Lab/Code
/ with_context_lines
Method
with_context_lines
core/src/context/ripgrep_provider.rs:99–102 ·
view source on GitHub ↗
Set context lines
(mut self, lines: usize)
Source
from the content-addressed store, hash-verified
97
98
/// Set context lines
99
pub fn with_context_lines(mut self, lines: usize) -> Self {
100
self.context_lines = lines;
101
self
102
}
103
}
104
105
/// Search result from a single file
Callers
1
test_config_builders
Function · 0.80
Calls
no outgoing calls
Tested by
1
test_config_builders
Function · 0.64