I got a function that checks whether the passed in file name is
... But I don't know how to name it properly. Something like
IsCurrentOrParentDirectory() is ambiguous, since the function takes a file name and not a full path. (Intuitively a fellow programmer would expect passing
/usr/ while I'm in
/usr/ would return
true, while this is actually not the case.)
Is there a technical term for these directory entries? If there is one, what is it?