--- a/src/eric7/RemoteServer/EricServerFileSystemRequestHandler.py Fri Mar 08 15:51:14 2024 +0100 +++ b/src/eric7/RemoteServer/EricServerFileSystemRequestHandler.py Fri Mar 08 16:08:43 2024 +0100 @@ -165,6 +165,8 @@ @param withHidden flag indicating to list hidden files and directories as well (defaults to False) @type bool (optional) + @return list of file and directory entries + @rtype list of dict """ listing = [] for dirEntry in os.scandir(directory): @@ -185,7 +187,7 @@ ), } listing.append(entry) - + if entry["is_dir"] and recursive: listing += self.__scanDirectory(dirEntry.path, recursive)