Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chanced/jsonptr
/ clear
Method
clear
src/pointer.rs:1038–1040 ·
view source on GitHub ↗
Clears the `Pointer`, setting it to root (`""`).
(&mut self)
Source
from the content-addressed store, hash-verified
1036
1037
/// Clears the `Pointer`, setting it to root (`
""
`).
1038
pub fn clear(&mut self) {
1039
self.0.clear();
1040
}
1041
}
1042
1043
impl FromStr for PointerBuf {
Callers
1
pointer_buf_clear
Function · 0.80
Calls
no outgoing calls
Tested by
1
pointer_buf_clear
Function · 0.64