mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 17:04:55 +00:00
Minor improvements
This commit is contained in:
@@ -215,6 +215,8 @@ bool IsPathBlend(const hecl::ProjectPath& path)
|
||||
|
||||
bool IsPathYAML(const hecl::ProjectPath& path)
|
||||
{
|
||||
if (!hecl::StrCmp(path.getLastComponent(), _S("!catalog.yaml")))
|
||||
return false; /* !catalog.yaml is exempt from general use */
|
||||
const SystemChar* lastCompExt = path.getLastComponentExt();
|
||||
if (!lastCompExt)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user