MCPcopy Create free account
hub / github.com/diem/move / remove_offset

Method remove_offset

language/move-prover/bytecode/src/access_path_trie.rs:112–114  ·  view source on GitHub ↗

Removes the node mapped to `o` from self (if it exists)

(&mut self, o: &Offset)

Source from the content-addressed store, hash-verified

110
111 /// Removes the node mapped to `o` from self (if it exists)
112 pub fn remove_offset(&mut self, o: &Offset) -> Option<Self> {
113 self.children.remove(o)
114 }
115
116 /// Return true if `self`'s keys can be converted into a compact set of concrete access paths
117 /// Note: this says nothing about the `data` part of `self`

Callers 1

remove_nodeMethod · 0.80

Calls 1

removeMethod · 0.45

Tested by

no test coverage detected