MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / read_lsb_release

Method read_lsb_release

libraries/systeminfo/src/distroutils.cpp:193–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191}
192
193Sys::DistributionInfo Sys::read_lsb_release()
194{
195 LsbInfo lsb;
196 if(!main_lsb_info(lsb))
197 {
198 if(!fallback_lsb_info(lsb))
199 {
200 return Sys::DistributionInfo();
201 }
202 }
203 Sys::DistributionInfo out;
204 lsb_postprocess(lsb, out);
205 return out;
206}
207
208QString Sys::_extract_distribution(const QString & x)
209{

Callers

nothing calls this directly

Calls 1

DistributionInfoClass · 0.85

Tested by

no test coverage detected