« Previous | Next » 

Revision fb17bebd

IDfb17bebdd6bbe60dda0f1bacee80b2078d7e9602
Parent 6e060e15
Child cf00dba0

Added by René Nussbaumer almost 13 years ago

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 <>
Reviewed-by: Michael Hanselmann <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences