MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / set_kind

Method set_kind

atomic-core/src/crdt/leaf.rs:230–232  ·  view source on GitHub ↗

Sets the token kind.

(&mut self, kind: TokenKind)

Source from the content-addressed store, hash-verified

228
229 /// Sets the token kind.
230 pub fn set_kind(&mut self, kind: TokenKind) {
231 self.kind = kind;
232 }
233
234 /// Sets the content range.
235 pub fn set_content_range(&mut self, range: Range<u32>) {

Callers 5

record_git_diff_add_fastFunction · 0.45
write_commitMethod · 0.45
test_leaf_set_kindFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_leaf_set_kindFunction · 0.36