7 8 9 10 11 12 13
# File 'lib/pkgpurge/cli.rb', line 7 def ls(path) root = Receipt.new(path).root Entry.traverse_entry_with_path(root, "/") do |entry, path| report path, "%o" % entry.mode, entry.uid, entry.gid, entry.size, entry.checksum end end