MCPcopy Create free account
hub / github.com/Work-Fisher/code-claw / EditFileOutput

Class EditFileOutput

claw-code/rust/crates/runtime/src/file_ops.rs:61–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59
60#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
61pub struct EditFileOutput {
62 #[serde(rename = "filePath")]
63 pub file_path: String,
64 #[serde(rename = "oldString")]
65 pub old_string: String,
66 #[serde(rename = "newString")]
67 pub new_string: String,
68 #[serde(rename = "originalFile")]
69 pub original_file: String,
70 #[serde(rename = "structuredPatch")]
71 pub structured_patch: Vec<StructuredPatchHunk>,
72 #[serde(rename = "userModified")]
73 pub user_modified: bool,
74 #[serde(rename = "replaceAll")]
75 pub replace_all: bool,
76 #[serde(rename = "gitDiff")]
77 pub git_diff: Option<serde_json::Value>,
78}
79
80#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
81pub struct GlobSearchOutput {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected