Home
last modified time | relevance | path

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

/openbmc/bmcweb/include/
H A Dwebassets.hpp34 inline std::string getStaticEtag(const std::filesystem::path& webpath) in getStaticEtag() argument
41 bmcweb::split(split, webpath.filename().string(), '.'); in getStaticEtag()
169 std::filesystem::path webpath = relativePath; in addFile() local
173 webpath = webpath.replace_extension(""); in addFile()
175 extension = webpath.extension().string(); in addFile()
180 webpath = webpath.replace_extension(""); in addFile()
182 extension = webpath.extension().string(); in addFile()
186 file.etag = getStaticEtag(webpath); in addFile()
188 if (webpath.filename().string().starts_with("index.")) in addFile()
190 webpath = webpath.parent_path(); in addFile()
[all …]