marmelroy / FileBrowser

Finder-style iOS file browser written in Swift
MIT License
1.51k stars 221 forks source link

Unable to display hidden files #26

Open jhoughjr opened 7 years ago

jhoughjr commented 7 years ago

I don't see a way to allow the browser to show hidden files. i.e. files with prefix .

hunble commented 3 years ago

Just a few years late. in file below FileBrowser/FileBrowser/FileParser.swift chnage the line 42 filePaths = try self.fileManager.contentsOfDirectory(at: directoryPath, includingPropertiesForKeys: [], options: [.skipsHiddenFiles])

with

filePaths = try self.fileManager.contentsOfDirectory(at: directoryPath, includingPropertiesForKeys: [], options: [])