Revision fb17bebd
ID | fb17bebdd6bbe60dda0f1bacee80b2078d7e9602 |
utils: Introduce IsBelowDir
This is mainly a wrapper to overcome the limitation of commonprefix
which makes a string by string comparisation and reports the common
prefix in both strings. However this is bad for directory handling.
IsBelowDir works around this limitation and should be used in favour of
commonprefix.
Signed-off-by: René Nussbaumer <rn@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Files
- added
- modified
- copied
- renamed
- deleted