including the subdirectories of the current folder.
In Linux there is an option to create a link to a certain folder, but when I ask for the path, instead of giving the name considering the link, it returns the real address of the folder.
Ex:
file in the virtual folder created with the link: /home/paulosspacheco/LazarusProjects/maricarai/mi.rtl/mi.rtl.pas
file in real folder: /home/paulosspacheco/v/paulosspacheco/LazarusProjects/maricarai/mi.rtl/pasdoc.sh
When I ask to show the project folder in the title bar it doesn't consider the virtual folder.
Does anyone have any idea how to solve this problem in Linux?
You can include unit fileutil, call method FindAllFiles and pass a proper DirAttr value to get just what you want. https://lazarus-ccr.sourceforge.io/docs/lazutils/fileutil/findallfiles.html
Обсуждают сегодня