mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RombaSharp] Create all skeleton methods
This commit is contained in:
@@ -253,16 +253,49 @@ namespace SabreTools
|
||||
_port = port;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Display the statistics in the database
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// This list of stats should include:
|
||||
/// - Total uncompressed size of the files
|
||||
/// - Total number of files
|
||||
/// - Total number of files that exist
|
||||
/// - Total number of files that don't exist
|
||||
/// - Total number of files with CRC
|
||||
/// - Total number of files with MD5
|
||||
/// - Total number of files with SHA-1
|
||||
/// - Total number of unique DAT hashes
|
||||
/// </remarks>
|
||||
private static void DisplayDBStats()
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: dbstats");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Display the current memory usage of the application
|
||||
/// </summary>
|
||||
private static void DisplayMemoryStats()
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: memstats");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Moves DAT index entries for orphaned DATs to backup folder
|
||||
/// </summary>
|
||||
private static void PurgeBackup()
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: purge-backup");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Deletes DAT index entries for orphaned DATs
|
||||
/// </summary>
|
||||
private static void PurgeDelete()
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: purge-delete");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Populate or refresh the database information
|
||||
/// </summary>
|
||||
|
||||
@@ -10,51 +10,70 @@ namespace SabreTools
|
||||
{
|
||||
#region Init Methods
|
||||
|
||||
/// <summary>
|
||||
/// Wrap adding files to the depots
|
||||
/// </summary>
|
||||
/// <param name="inputs"></param>
|
||||
/// <param name="onlyNeeded"></param>
|
||||
private static void InitArchive(List<string> inputs, bool onlyNeeded)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: archive");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wrap building all files from a set of DATs
|
||||
/// </summary>
|
||||
/// <param name="inputs"></param>
|
||||
private static void InitBuild(List<string> inputs)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: build");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wrap finding all files that are in both the database and a new Dat
|
||||
/// </summary>
|
||||
/// <param name="newdat"></param>
|
||||
private static void InitDiffDat(string newdat)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: diffdat");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wrap creating a Dat from a directory
|
||||
/// </summary>
|
||||
/// <param name="inputs"></param>
|
||||
private static void InitDir2Dat(List<string> inputs)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: dir2dat");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wrap creating a fixdat for each Dat
|
||||
/// </summary>
|
||||
/// <param name="inputs"></param>
|
||||
private static void InitFixdat(List<string> inputs)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: fixdat");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wrap looking up if hashes exist in the database
|
||||
/// </summary>
|
||||
/// <param name="inputs"></param>
|
||||
private static void InitLookup(List<string> inputs)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: lookup");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Wrap creating a havefile and a missfile for each Dat
|
||||
/// </summary>
|
||||
/// <param name="inputs"></param>
|
||||
private static void InitMiss(List<string> inputs)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: miss");
|
||||
}
|
||||
|
||||
private static void InitPurgeBackup()
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: purge-backup");
|
||||
}
|
||||
|
||||
private static void InitPurgeDelete()
|
||||
{
|
||||
_logger.User("This feature is not yet implemented: purge-delete");
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -277,19 +277,19 @@ namespace SabreTools
|
||||
// Shows progress of the currently running command
|
||||
else if (progress)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented!");
|
||||
_logger.User("This feature is not used in RombaSharp: progress");
|
||||
}
|
||||
|
||||
// Moves DAT index entries for orphaned DATs
|
||||
else if (purgeBackup)
|
||||
{
|
||||
InitPurgeBackup();
|
||||
PurgeBackup();
|
||||
}
|
||||
|
||||
// Deletes DAT index entries for orphaned DATs
|
||||
else if (purgeDelete)
|
||||
{
|
||||
InitPurgeDelete();
|
||||
PurgeDelete();
|
||||
}
|
||||
|
||||
// Refreshes the DAT index from the files in the DAT master directory tree
|
||||
@@ -301,7 +301,7 @@ namespace SabreTools
|
||||
// Gracefully shuts down server
|
||||
else if (shutdown)
|
||||
{
|
||||
_logger.User("This feature is not yet implemented!");
|
||||
_logger.User("This feature is not used in RombaSharp: shutdown");
|
||||
}
|
||||
|
||||
// If nothing is set, show the help
|
||||
|
||||
Reference in New Issue
Block a user