aboutsummaryrefslogtreecommitdiff
path: root/shardweb/lib/views/directory_view.ex
blob: acbd9502928e91e0cb7bd1d440b22923726984c2 (plain) (blame)
1
2
3
4
5
6
7
8
9
defmodule ShardWeb.DirectoryView do
  use ShardWeb, :view

  def dir_contents(_conn, manifest) do
    IO.puts(inspect manifest)
    pid = Shard.Manager.find_or_start manifest
    SApp.Directory.get_files pid
  end
end