コード例 #1
0
ファイル: Package.cs プロジェクト: dkv01/withSIX.Desktop
        // TODO: Make this a Verifying progress state?
        void ConfirmChanges(bool withRemoval, IOrderedEnumerable <FileObjectMapping> mappings)
        {
            var afterChangeAg = new Package.ChangeList(GetWorkingPathFiles(withRemoval, mappings), mappings, this);

            if (!afterChangeAg.HasChanges(withRemoval))
            {
                return;
            }
            PrintDetailedChanges(afterChangeAg, withRemoval);
            throw new ChecksumException("See log for details");
        }