in src/net/sourceforge/transparent/ChangeManagement/CCaseChangeProvider.java [269:302]
private void iterateOverDirtyDirectories( final VcsDirtyScope dirtyScope )
{
for( FilePath path : dirtyScope.getDirtyFiles() )
{
String fileName = path.getPath();
VirtualFile file = path.getVirtualFile();
// make sure that:
// - a file is a folder which exists (VFS has a valid ref to it)
// - it is under out vcs and is not in the ignore list
if( path.isDirectory() && (file != null) )
{
if( host.isFileIgnored( file ))
filesIgnored.add( fileName );
else
{
String refName = host.discoverOldName(fileName);
// Check that folder physically exists.
if( !host.fileExistsInVcs( refName ))
filesNew.add( fileName );
else
// NB: Do not put to the "Changed" list those folders which are under
// the renamed one since we will have troubles in checking such
// folders in (it is useless, BTW).
// Simultaneously, this prevents valid processing of renamed folders
// that are under another renamed folders.
// Todo Inner rename.
if( !refName.equals( fileName ) && !isUnderRenamedFolder( fileName ) )
filesChanged.add( fileName );
}
}
}
}