#include Outside the Synced Folder?

#include in a .stignore uses the sync folder as root. Is there a way to #include based on a full path name?

i.e. I’d like to #include /root/etc/ignores.txt; all of my sync folders live under /root/data, so I can’t get to /root/etc from a sub-folder of /root/data.

Yes and no. The path is always intepreted as folder-relative, but you can escape the folder with dotdot. So #include ../etc/ignores.txt should work to grab /root/etc/ignores.txt from /root/data/.stignore.

thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.