Replace Project::inProject() implementation with fileSet?
Hamish Rodda
rodda at kde.org
Sun Aug 24 00:23:42 UTC 2008
Hi,
On Sunday 24 August 2008 09:05:14 Andreas Pakulat wrote:
> Hi,
>
> I was wondering if two IndexedString's that are created from the same
> url compare equally? Or to be more specific if
>
> IndexedString s(url);
> d->fileSet.contains(s);
>
> returns true if fileSet contains an IndexedString that was created from
> the url before.
>
> David?
As long as the urls are simplified first (ie. '//', '..' etc are
removed/resolved) then they should be equal... some false negatives would
still occur from symlinks, but that's the same for kurl == kurl2.
Cheers,
Hamish
More information about the KDevelop-devel
mailing list