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