lib/chef_fs/file_pattern.rb
def exact_path
      return nil if has_double_star || exact_parts.any? { |part| part.nil? }
      result = ChefFS::PathUtils::join(*exact_parts)
      is_absolute ? ChefFS::PathUtils::join('', result) : result
    end
def exact_path
      return nil if has_double_star || exact_parts.any? { |part| part.nil? }
      result = ChefFS::PathUtils::join(*exact_parts)
      is_absolute ? ChefFS::PathUtils::join('', result) : result
    end
If this pattern represents an exact path, returns the exact path.

   abc/def.exact_path == 'abc/def'
   abc/*def.exact_path == 'abc/def'
   abc/x\\yz.exact_path == 'abc/xyz'