# File lib/librmpd.rb, line 578 def directories( path = nil ) if not path.nil? response = send_command "listall \"#{path}\"" else response = send_command 'listall' end filter_response response, /\Adirectory: /i end