diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-05-26 10:52:23 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2011-05-26 10:52:23 +0000 |
commit | 27cf16248a293ce1da1773ca87717c676003d76e (patch) | |
tree | 88c28f7e34e3089e4a70bb470491e739f40fc03b /fs/base.py | |
parent | c68d276e473a7414f4aa2c8a7aba2eea5ae6f129 (diff) | |
download | pyfilesystem-27cf16248a293ce1da1773ca87717c676003d76e.tar.gz |
hide dotfiles fix from Andrew
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@709 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/base.py')
-rw-r--r-- | fs/base.py | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -1179,10 +1179,14 @@ class FS(object): print_fs(self, max_levels=max_levels) tree = printtree - def browse(self): - """Displays the FS tree in a graphical window (requires wxPython)""" + def browse(self, hide_dotfiles=False): + """Displays the FS tree in a graphical window (requires wxPython) + + :param hide_dotfiles: If True, files and folders that begin with a dot will be hidden + + """ from fs.browsewin import browse - browse(self) + browse(self, hide_dotfiles) def getmmap(self, path, read_only=False, copy=False): """Returns a mmap object for this path. |