# File lib/puppet/file_serving/fileset.rb, line 35 35: def files 36: files = perform_recursion 37: 38: # Now strip off the leading path, so each file becomes relative, and remove 39: # any slashes that might end up at the beginning of the path. 40: result = files.collect { |file| file.sub(%r{^#{Regexp.escape(@path)}/*}, '') } 41: 42: # And add the path itself. 43: result.unshift(".") 44: 45: result 46: end