isMemoryFilePath method
Check if a file path is a memory file.
Implementation
bool isMemoryFilePath(String filePath) {
final name = filePath.split('/').last;
if (name == 'NEOMAGE.md' || name == 'NEOMAGE.local.md') return true;
if (name.endsWith('.md') && filePath.contains('/.neomage/rules/')) {
return true;
}
return false;
}