MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / new

Method new

crates/opencode-tool/src/edit/tool.rs:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15impl EditTool {
16 pub fn new() -> Self {
17 Self {
18 directory: std::env::current_dir().unwrap_or_default(),
19 }
20 }
21}
22
23impl Default for EditTool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected