MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / fileName

Method fileName

src/Base/FileInfo.cpp:206–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206std::string FileInfo::fileName() const
207{
208 return FileName.substr(FileName.find_last_of('/') + 1);
209}
210
211std::string FileInfo::dirPath() const
212{

Callers 13

getModuleInfoStringFunction · 0.45
getRelativePathMethod · 0.45
applyStandardMethod · 0.45
applyTimeStampMethod · 0.45
getExchangeTempFileMethod · 0.45
setValueMethod · 0.45
SaveMethod · 0.45
CopyMethod · 0.45
PasteMethod · 0.45
getFileNameMethod · 0.45
getPyObjectMethod · 0.45

Calls 1

substrMethod · 0.80

Tested by

no test coverage detected