# File lib/puppet/indirector/file_server.rb, line 26 26: def find(request) 27: mount, relative_path = configuration.split_path(request) 28: 29: return nil unless mount 30: 31: # The mount checks to see if the file exists, and returns nil 32: # if not. 33: return nil unless path = mount.find(relative_path, request) 34: result = model.new(path) 35: result.links = request.options[:links] if request.options[:links] 36: result.collect 37: result 38: end