Exemple #1
0
 public static void DupFinder(this ICakeContext context, FilePath file, DupFinderSettings settings)
 {
     DupFinder(context, new[] { file }, settings);
 }
Exemple #2
0
        public static void DupFinder(this ICakeContext context, IEnumerable <FilePath> files, DupFinderSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            var runner = new DupFinderRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, context.Log);

            runner.Run(files, settings);
        }