# File lib/puppet/network/handler/fileserver.rb, line 631
631:       def list(relpath, recurse, ignore, client = nil)
632:         abspath = file_path(relpath, client)
633:         if FileTest.exists?(abspath)
634:           if FileTest.directory?(abspath) and recurse
635:             return reclist(abspath, recurse, ignore)
636:           else
637:             return [["/", File.stat(abspath).ftype]]
638:           end
639:         end
640:         nil
641:       end