isAutoMemPath function
Check if a file path is within the auto-memory directory.
Implementation
bool isAutoMemPath(String filePath, {String? projectRoot}) {
final memPath = getAutoMemPath(projectRoot: projectRoot);
return p.normalize(filePath).startsWith(p.normalize(memPath));
}