Method: Ftpd::FileSystemHelper#path_list
- Defined in:
- lib/ftpd/file_system_helper.rb
#path_list(path) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/ftpd/file_system_helper.rb', line 7 def path_list(path) if file_system.directory?(path) path = File.join(path, '*') end file_system.dir(path).sort end |