MCPcopy Create free account
hub / github.com/SmingHub/Sming / toString

Function toString

Sming/Core/Data/WebConstants.cpp:37–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35} // namespace
36
37String toString(MimeType m)
38{
39 if(m == MIME_UNKNOWN) {
40 return nullptr;
41 }
42
43 return contentTypeStrings[unsigned(m)];
44}
45
46namespace ContentType
47{

Callers 2

fromFileExtensionFunction · 0.70
fromFullFileNameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected