MCPcopy Create free account
hub / github.com/Illation/ETEngine / GetExtension

Method GetExtension

Engine/source/EtCore/FileSystem/Entry.cpp:93–101  ·  view source on GitHub ↗

--------------------------------- Entry::GetExtension Get the extension of an entry, if it has one

Source from the content-addressed store, hash-verified

91// Get the extension of an entry, if it has one
92//
93std::string Entry::GetExtension()
94{
95 if(GetType() == EntryType::ENTRY_FILE)
96 {
97 return FileUtil::ExtractExtension(m_Filename);
98 }
99
100 return std::string("");
101}
102
103
104//======================

Callers 3

SetSceneMethod · 0.45
GetChildrenByExtMethod · 0.45
GLTFTest.cppFile · 0.45

Calls 1

GetTypeFunction · 0.85

Tested by

no test coverage detected