<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PackageUseScrutiniser.Cli
{
    class Program
    {
        static void Main(string[] args)
        {
        }
    }
}<commit_msg>list all packages in folder<commit_after>﻿using System;
using System.IO;
using System.Linq;
using System.Xml.Linq;

namespace PackageUseScrutiniser.Cli
{
    class Program
    {
        static void Main(string[] args)
        {
            var packagesConfigs = Directory.EnumerateFiles(@"C:\_Source\IAM\FIN-Genesis\AMGStocks\Development", "packages.config", SearchOption.AllDirectories);
            foreach (var packageConfig in packagesConfigs)
            {
                XDocument doc = XDocument.Load(packageConfig);
                var packages = doc.Root
                                  .Elements("package")
                                  .Where(package => package.Attribute("id").Value == "Gns.Sly.LocalStock.Contracts")
                                  .ToList();
                if (packages.Count > 0)
                {
                    Console.WriteLine(packageConfig);    
                }
                
            }

        }
    }
}
{'fraction_non_alphanumeric': 0.09511993382961124, 'fraction_numerical': 0.0008271298593879239, 'mean_word_length': 1.636165577342048, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1670075', 'n_tokens_mistral': 329, 'n_tokens_neox': 308, 'n_words': 61}