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

Function from_tokens

src/pointer.rs:1925–1928  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1923
1924 #[test]
1925 fn from_tokens() {
1926 let ptr = PointerBuf::from_tokens(["foo", "bar", "baz"]);
1927 assert_eq!(ptr, "/foo/bar/baz");
1928 }
1929
1930 #[test]
1931 fn pointer_borrow() {

Callers 15

arbitraryMethod · 0.85
shrinkMethod · 0.85
fromMethod · 0.85
pointer_buf_clearFunction · 0.85
push_pop_backFunction · 0.85
formattingFunction · 0.85
pointerbuf_try_fromFunction · 0.85
replace_token_successFunction · 0.85
qc_from_tokensFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected