fs.wrapfs.hidedotfilesfs

An FS wrapper class for hiding dot-files in directory listings.

class fs.wrapfs.hidedotfilesfs.HideDotFilesFS(fs)

FS wrapper class that hides dot-files in directory listings.

The listdir() function takes an extra keyword argument ‘hidden’ indicating whether hidden dot-files should be included in the output. It is False by default.

is_hidden(path)

Check whether the given path should be hidden.