MCPcopy Create free account
hub / github.com/chanced/jsonptr / to_buf

Method to_buf

src/pointer.rs:115–117  ·  view source on GitHub ↗

Converts into an owned [`PointerBuf`]

(&self)

Source from the content-addressed store, hash-verified

113
114 /// Converts into an owned [`PointerBuf`]
115 pub fn to_buf(&self) -> PointerBuf {
116 PointerBuf(self.0.to_string())
117 }
118
119 /// Returns an iterator of `Token`s in the `Pointer`.
120 pub fn tokens(&self) -> Tokens {

Callers 9

with_trailing_tokenMethod · 0.80
with_leading_tokenMethod · 0.80
concatMethod · 0.80
to_ownedMethod · 0.80
qc_splitFunction · 0.80
lenFunction · 0.80
partial_eqFunction · 0.80
partial_ordFunction · 0.80

Calls 1

PointerBufClass · 0.85

Tested by 2

lenFunction · 0.64
partial_ordFunction · 0.64