MCPcopy Create free account
hub / github.com/cxasm/notepad-- / fileSuffix

Function fileSuffix

src/encodeconvert.cpp:18–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16const int ITEM_CODE = Qt::UserRole + 1;
17
18static QString fileSuffix(const QString& filePath)
19{
20 QFileInfo fi(filePath);
21 return fi.suffix();
22}
23
24static QString getFileSizeFormat(qint64 size)
25{

Callers 2

scanFileCodeMethod · 0.70
slot_startConvertMethod · 0.70

Calls 1

suffixMethod · 0.80

Tested by

no test coverage detected