VCS Interface classes

Matthew Woehlke mw_triad at users.sourceforge.net
Mon Apr 30 17:27:43 UTC 2007


Jakob Petsovits wrote:
> On Monday, 30. April 2007, Andreas Pakulat wrote:
>> On 30.04.07 16:32:55, Jakob Petsovits wrote:
>>> As a nice side effect, that makes a real good case for isWorkingCopy() :D
>> Uhm, no. Then the function should rather be isVersionControlled() or
>> isUnderVersionControl().
> 
> isVersionControlled()! I love that one.

bool isVersionControlled(KUrl path) {
   return !repoPath(path).isEmpty();
}

:-)

-- 
Matthew
If you believe you received this e-mail in error, you are probably sadly 
mistaken, but if not, aren't you lucky?





More information about the KDevelop-devel mailing list