Home
last modified time | relevance | path

Searched refs:webpath (Results 1 – 1 of 1) sorted by relevance

/openbmc/bmcweb/include/
H A Dwebassets.hpp36 inline std::string getStaticEtag(const std::filesystem::path& webpath) in getStaticEtag() argument
43 bmcweb::split(split, webpath.filename().string(), '.'); in getStaticEtag()
173 std::filesystem::path webpath = relativePath; in addFile() local
177 webpath = webpath.replace_extension(""); in addFile()
179 extension = webpath.extension().string(); in addFile()
185 webpath = webpath.replace_extension(""); in addFile()
187 extension = webpath.extension().string(); in addFile()
192 file.etag = getStaticEtag(webpath); in addFile()
194 if (webpath.filename().string().starts_with("index.")) in addFile()
196 webpath = webpath.parent_path(); in addFile()
[all …]