MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / GetExt

Function GetExt

Libraries/unrar/pathfn.cpp:107–110  ·  view source on GitHub ↗

'Ext' is an extension with the leading dot, like L".rar".

Source from the content-addressed store, hash-verified

105
106// 'Ext' is an extension with the leading dot, like L".rar".
107wchar *GetExt(const wchar *Name)
108{
109 return Name==NULL ? NULL:wcsrchr(PointToName(Name),'.');
110}
111
112
113// 'Ext' is an extension without the leading dot, like L"rar".

Callers 9

ProcessCommandMethod · 0.85
IsNewStyleRevFunction · 0.85
RestoreMethod · 0.85
GetAutoRenamedNameFunction · 0.85
SetExtFunction · 0.85
CmpExtFunction · 0.85
NextVolumeNameFunction · 0.85
VolNameToFirstNameFunction · 0.85
GenArcNameFunction · 0.85

Calls 1

PointToNameFunction · 0.85

Tested by

no test coverage detected