MCPcopy Create free account
hub / github.com/beefytech/Beef / IsBeef

Method IsBeef

IDEHelper/DbgModule.cpp:851–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849////////////////////
850
851bool DbgSrcFile::IsBeef()
852{
853 int dotPos = (int)mFilePath.LastIndexOf('.');
854 if (dotPos == -1)
855 return false;
856 const char* ext = mFilePath.c_str() + dotPos;
857 // The ".cs" is legacy. Remove that eventually.
858 return (stricmp(ext, ".bf") == 0) || (stricmp(ext, ".cs") == 0);
859}
860
861DbgSrcFile::~DbgSrcFile()
862{

Callers 1

ParseCompileUnitMethod · 0.80

Calls 2

LastIndexOfMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected