Quadlet - add full support for Symlinks

Use os.ReadDir recursively instead of filepath.WalkDir
Use map instead of list to easily find looped Symlinks
Update existing tests and add a more elaborate one
Update the man page

Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
Ygal Blum
2024-09-19 13:18:15 -04:00
parent 4dfff40840
commit 133ea31ffb
4 changed files with 159 additions and 64 deletions

View File

@ -35,8 +35,7 @@ Quadlet files for non-root users can be placed in the following directories
### Using symbolic links
Quadlet supports using symbolic links for the base of the search paths.
Symbolic links below the search paths are not supported.
Quadlet supports using symbolic links for the base of the search paths and inside them.
## DESCRIPTION