using SabreTools.Helper; using System.Collections.Generic; using System.IO; namespace SabreTools { public partial class RombaSharp { #region Init Methods /// /// Wrap adding files to the depots /// /// /// private static void InitArchive(List inputs, bool onlyNeeded) { _logger.User("This feature is not yet implemented: archive"); } /// /// Wrap building all files from a set of DATs /// /// private static void InitBuild(List inputs) { _logger.User("This feature is not yet implemented: build"); } /// /// Wrap finding all files that are in both the database and a new Dat /// /// private static void InitDiffDat(string newdat) { _logger.User("This feature is not yet implemented: diffdat"); } /// /// Wrap creating a Dat from a directory /// /// private static void InitDir2Dat(List inputs) { // Create a simple Dat output Dat datdata = new Dat() { FileName = Path.GetFileName(inputs[0]) + " Dir2Dat", Name = Path.GetFileName(inputs[0]) + " Dir2Dat", Description = Path.GetFileName(inputs[0]) + " Dir2Dat", OutputFormat = OutputFormat.Xml, Files = new Dictionary>(), }; DATFromDir dfd = new DATFromDir(inputs, datdata, false, false, true, false, true, "__temp__", _logger); dfd.Start(); } /// /// Wrap creating a fixdat for each Dat /// /// private static void InitFixdat(List inputs) { _logger.User("This feature is not yet implemented: fixdat"); } /// /// Wrap looking up if hashes exist in the database /// /// private static void InitLookup(List inputs) { _logger.User("This feature is not yet implemented: lookup"); } /// /// Wrap creating a havefile and a missfile for each Dat /// /// private static void InitMiss(List inputs) { _logger.User("This feature is not yet implemented: miss"); } #endregion } }