eric6/MicroPython/MicroPythonFileManager.py

branch
micropython
changeset 7137
4ed2573947ff
parent 7131
f75e990caf99
child 7139
9bb36ec2d1b5
diff -r bddcb634a9b8 -r 4ed2573947ff eric6/MicroPython/MicroPythonFileManager.py
--- a/eric6/MicroPython/MicroPythonFileManager.py	Tue Aug 13 16:39:31 2019 +0200
+++ b/eric6/MicroPython/MicroPythonFileManager.py	Tue Aug 13 17:52:58 2019 +0200
@@ -77,15 +77,18 @@
         self.__commandsInterface = commandsInterface
     
     @pyqtSlot(str)
-    def lls(self, dirname):
+    def lls(self, dirname, showHidden=False):
         """
         Public slot to get a long listing of the given directory.
         
         @param dirname name of the directory to list
         @type str
+        @param showHidden flag indicating to show hidden files as well
+        @type bool
         """
         try:
-            filesList = self.__commandsInterface.lls(dirname)
+            filesList = self.__commandsInterface.lls(
+                dirname, showHidden=showHidden)
             result = [(decoratedName(name, mode),
                        mode2string(mode),
                        str(size),

eric ide

mercurial