MCPcopy Create free account
hub / github.com/untitaker/hyperlink / empty_base

Function empty_base

src/html/mod.rs:82–87  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81 #[test]
82 fn empty_base() {
83 let mut base = String::from("");
84 let path = "./2014/article.html";
85 push_and_canonicalize(&mut base, path);
86 assert_eq!(base, "2014/article.html");
87 }
88
89 #[test]
90 fn empty_href() {

Callers

nothing calls this directly

Calls 1

push_and_canonicalizeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…