BlogTalkRadio.Tools.CFT.App.CreateMissing C# (CSharp) Method

CreateMissing() private method

private CreateMissing ( string path = null, string destination = null, [ dry = false ) : void
path string
destination string
dry [
return void
        public static void CreateMissing(
            string path = null,
            string destination = null,
            [Description("Stops with an error if a file would change. Doesn't touch any file")]bool dry = false
            )
        {
            try
            {
                var directoryProcessor = new DirectoryProcessor(path, destination);
                directoryProcessor.CreateEmptyDestinationFiles(dry);
            }
            catch
            {
                Environment.ExitCode = 1;
                throw;
            }
        }