_IsInIndexDirectory
if (_IsInIndexDirectory(ref))
inline bool _IsInIndexDirectory(const entry_ref& ref);