# File lib/puppet/network/handler/fileserver.rb, line 660 660: def list(relpath, recurse, ignore, client = nil) 661: abspath = file_path(relpath, client) 662: if FileTest.exists?(abspath) 663: if FileTest.directory?(abspath) and recurse 664: return reclist(abspath, recurse, ignore) 665: else 666: return [["/", File.stat(abspath).ftype]] 667: end 668: end 669: return nil 670: end