MCPcopy Create free account
hub / github.com/csskit/csskit / commit

Method commit

crates/csskit_lsp/src/service.rs:111–114  ·  view source on GitHub ↗
(&mut self, rope: Rope)

Source from the content-addressed store, hash-verified

109 }
110
111 fn commit(&mut self, rope: Rope) {
112 self.content = rope;
113 self.sender.send(FileCall::RopeChange(self.content.clone())).unwrap();
114 }
115
116 #[instrument]
117 fn get_highlights(&self) -> Vec<(Highlight, Line, Col)> {

Callers 2

Calls 1

cloneMethod · 0.80

Tested by

no test coverage detected