(
&self,
_path: &WorkspacePath,
content: &str,
)
| 299 | Ok("hello world".to_string()) |
| 300 | } |
| 301 | async fn write_text( |
| 302 | &self, |
| 303 | _path: &WorkspacePath, |
| 304 | content: &str, |
| 305 | ) -> WorkspaceResult<WorkspaceWriteOutcome> { |
| 306 | Ok(WorkspaceWriteOutcome { |
| 307 | bytes: content.len(), |
| 308 | lines: content.lines().count(), |
| 309 | }) |
| 310 | } |
| 311 | async fn list_dir( |
| 312 | &self, |
| 313 | _path: &WorkspacePath, |