MCPcopy Create free account
hub / github.com/Adaptix-Framework/AdaptixC2 / GetBasenameWindows

Function GetBasenameWindows

AdaptixClient/Source/Utils/FileSystem.cpp:19–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17}
18
19QString GetBasenameWindows(const QString& path)
20{
21 QStringList pathParts = path.split("\\", Qt::SkipEmptyParts);
22 if (pathParts.isEmpty())
23 return path;
24 return pathParts[pathParts.size()-1];
25}
26
27QString GetBasenameUnix(const QString& path)
28{

Callers 1

CreateBrowserFileDataMethod · 0.85

Calls 2

isEmptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected