MCPcopy Create free account
hub / github.com/Eeive/Evcode-ide / to_string

Method to_string

src/editor/document.rs:215–221  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

213 }
214
215 pub fn to_string(&self) -> String {
216 let mut text = String::with_capacity(self.rope.len_bytes());
217 for chunk in self.rope.chunks() {
218 text.push_str(chunk);
219 }
220 text
221 }
222}
223
224fn trim_line_ending(text: &mut String) {

Callers 15

create_snapshotMethod · 0.80
get_diffMethod · 0.80
detect_lsp_syncMethod · 0.80
json_rpc_requestFunction · 0.80
json_rpc_notificationFunction · 0.80
handle_lsp_responseFunction · 0.80
executeMethod · 0.80
textMethod · 0.80
insert_charMethod · 0.80
from_pathMethod · 0.80
titleMethod · 0.80
handle_naming_keyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected