Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ChrisFeldmeier/OpenCodeRust
/ new
Method
new
crates/opencode-tool/src/grep_tool.rs:18–22 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
17
impl GrepTool {
18
pub fn new() -> Self {
19
Self {
20
directory: std::env::current_dir().unwrap_or_default(),
21
}
22
}
23
}
24
25
impl Default for GrepTool {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected