mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 16:38:02 +02:00
IDE: scan for fpc sources: skip some folders
This commit is contained in:
parent
3c735c0d03
commit
91b5bead90
@ -297,6 +297,24 @@ begin
|
||||
if Terminated then Break;
|
||||
if (PathInfo.Name='') or (PathInfo.Name[1]='.')
|
||||
or ((PathInfo.Attr and faDirectory) = 0) then Continue;
|
||||
case lowercase(PathInfo.Name) of
|
||||
'pictures',
|
||||
'music',
|
||||
'photos',
|
||||
'movies',
|
||||
'videos',
|
||||
'applications',
|
||||
'calendar',
|
||||
'calendars',
|
||||
'mail',
|
||||
'messages',
|
||||
'contacts',
|
||||
'cache',
|
||||
'caches',
|
||||
'trash',
|
||||
'containers',
|
||||
'tmp': continue;
|
||||
end;
|
||||
{$IFDEF VerboseFPCSrcScanThead}
|
||||
fPath := APath;
|
||||
fFileInfo := PathInfo;
|
||||
|
Loading…
Reference in New Issue
Block a user