public Method

RecursiveHTTPFetcher.ls

There's no documentation for this item.

Source Code

# File commands/plugin.rb, line 863
def ls
  @urls_to_fetch.collect do |url|
    if url =~ /^svn:\/\/.*/
      `svn ls #{url}`.split("\n").map {|entry| "/#{entry}"} rescue nil
    else
      open(url) do |stream|
        links("", stream.read)
      end rescue nil
    end
  end.flatten
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.