mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RombaSharp] Add TODOs on every needed flag
This commit is contained in:
@@ -33,6 +33,7 @@ namespace RombaSharp
|
|||||||
/// <param name="skipInitialScan">True to skip the initial scan of the files to determine amount of work, false otherwise</param>
|
/// <param name="skipInitialScan">True to skip the initial scan of the files to determine amount of work, false otherwise</param>
|
||||||
/// <param name="useGolangZip">True to use go zip implementation instead of zlib, false otherwise</param>
|
/// <param name="useGolangZip">True to use go zip implementation instead of zlib, false otherwise</param>
|
||||||
/// <param name="noDb">True to archive into depot but do not touch DB index and ignore only-needed flag, false otherwise</param>
|
/// <param name="noDb">True to archive into depot but do not touch DB index and ignore only-needed flag, false otherwise</param>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitArchive(
|
private static void InitArchive(
|
||||||
List<string> inputs,
|
List<string> inputs,
|
||||||
bool onlyNeeded,
|
bool onlyNeeded,
|
||||||
@@ -210,6 +211,7 @@ namespace RombaSharp
|
|||||||
/// <param name="copy">True if files should be copied to output, false for rebuild</param>
|
/// <param name="copy">True if files should be copied to output, false for rebuild</param>
|
||||||
/// <param name="workers">How many workers to launch for the job, default from config</param>
|
/// <param name="workers">How many workers to launch for the job, default from config</param>
|
||||||
/// <param name="subworkers">How many subworkers to launch for each worker, default from config</param>
|
/// <param name="subworkers">How many subworkers to launch for each worker, default from config</param>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitBuild(
|
private static void InitBuild(
|
||||||
List<string> inputs,
|
List<string> inputs,
|
||||||
string outdat,
|
string outdat,
|
||||||
@@ -264,6 +266,7 @@ namespace RombaSharp
|
|||||||
/// Wrap printing dat stats
|
/// Wrap printing dat stats
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="inputs">List of input DATs to get stats from</param>
|
/// <param name="inputs">List of input DATs to get stats from</param>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitDatStats(List<string> inputs)
|
private static void InitDatStats(List<string> inputs)
|
||||||
{
|
{
|
||||||
Globals.Logger.Error("This feature is not yet implemented: datstats");
|
Globals.Logger.Error("This feature is not yet implemented: datstats");
|
||||||
@@ -285,6 +288,7 @@ namespace RombaSharp
|
|||||||
/// <param name="newdat">New DAT file</param>
|
/// <param name="newdat">New DAT file</param>
|
||||||
/// <param name="name">Name value in DAT header</param>
|
/// <param name="name">Name value in DAT header</param>
|
||||||
/// <param name="description">Description value in DAT header</param>
|
/// <param name="description">Description value in DAT header</param>
|
||||||
|
/// TODO: Implement
|
||||||
private static void InitDiffDat(
|
private static void InitDiffDat(
|
||||||
string outdat,
|
string outdat,
|
||||||
string old,
|
string old,
|
||||||
@@ -302,6 +306,7 @@ namespace RombaSharp
|
|||||||
/// <param name="source">Source directory</param>
|
/// <param name="source">Source directory</param>
|
||||||
/// <param name="name">Name value in DAT header</param>
|
/// <param name="name">Name value in DAT header</param>
|
||||||
/// <param name="description">Description value in DAT header</param>
|
/// <param name="description">Description value in DAT header</param>
|
||||||
|
/// TODO: Implement
|
||||||
private static void InitDir2Dat(
|
private static void InitDir2Dat(
|
||||||
string outdat,
|
string outdat,
|
||||||
string source,
|
string source,
|
||||||
@@ -317,6 +322,7 @@ namespace RombaSharp
|
|||||||
/// <param name="outdat">Output file</param>
|
/// <param name="outdat">Output file</param>
|
||||||
/// <param name="old">Old DAT file</param>
|
/// <param name="old">Old DAT file</param>
|
||||||
/// <param name="newdat">New DAT file</param>
|
/// <param name="newdat">New DAT file</param>
|
||||||
|
/// TODO: Implement
|
||||||
private static void InitEDiffDat(
|
private static void InitEDiffDat(
|
||||||
string outdat,
|
string outdat,
|
||||||
string old,
|
string old,
|
||||||
@@ -328,6 +334,7 @@ namespace RombaSharp
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Wrap exporting the database to CSV
|
/// Wrap exporting the database to CSV
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitExport()
|
private static void InitExport()
|
||||||
{
|
{
|
||||||
ExportDatabase();
|
ExportDatabase();
|
||||||
@@ -341,6 +348,7 @@ namespace RombaSharp
|
|||||||
/// <paran name="fixdatOnly">True to only fix dats and don't generate torrentzips, false otherwise</paran>
|
/// <paran name="fixdatOnly">True to only fix dats and don't generate torrentzips, false otherwise</paran>
|
||||||
/// <param name = "workers" > How many workers to launch for the job, default from config</param>
|
/// <param name = "workers" > How many workers to launch for the job, default from config</param>
|
||||||
/// <param name="subworkers">How many subworkers to launch for each worker, default from config</param>
|
/// <param name="subworkers">How many subworkers to launch for each worker, default from config</param>
|
||||||
|
/// TODO: Implement
|
||||||
private static void InitFixdat(
|
private static void InitFixdat(
|
||||||
List<string> inputs,
|
List<string> inputs,
|
||||||
string outdat,
|
string outdat,
|
||||||
@@ -355,6 +363,7 @@ namespace RombaSharp
|
|||||||
/// Wrap importing CSVs into the database
|
/// Wrap importing CSVs into the database
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="inputs">List of input CSV files to import information from</param>
|
/// <param name="inputs">List of input CSV files to import information from</param>
|
||||||
|
/// TODO: Implement
|
||||||
private static void InitImport(List<string> inputs)
|
private static void InitImport(List<string> inputs)
|
||||||
{
|
{
|
||||||
Globals.Logger.Error("This feature is not yet implemented: import");
|
Globals.Logger.Error("This feature is not yet implemented: import");
|
||||||
@@ -366,6 +375,7 @@ namespace RombaSharp
|
|||||||
/// <param name="inputs">List of input strings representing hashes to check for</param>
|
/// <param name="inputs">List of input strings representing hashes to check for</param>
|
||||||
/// <param name="size">Size to limit hash by, -1 otherwise</param>
|
/// <param name="size">Size to limit hash by, -1 otherwise</param>
|
||||||
/// <param name="outdat">Output directory</param>
|
/// <param name="outdat">Output directory</param>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitLookup(
|
private static void InitLookup(
|
||||||
List<string> inputs,
|
List<string> inputs,
|
||||||
long size,
|
long size,
|
||||||
@@ -482,6 +492,7 @@ namespace RombaSharp
|
|||||||
/// <param name="workers">How many workers to launch for the job, default from config</param>
|
/// <param name="workers">How many workers to launch for the job, default from config</param>
|
||||||
/// <param name="skipInitialScan">True to skip the initial scan of the files to determine amount of work, false otherwise</param>
|
/// <param name="skipInitialScan">True to skip the initial scan of the files to determine amount of work, false otherwise</param>
|
||||||
/// TODO: Add way of specifying "current depot" since that's what Romba relies on
|
/// TODO: Add way of specifying "current depot" since that's what Romba relies on
|
||||||
|
/// TODO: Implement
|
||||||
private static void InitMerge(
|
private static void InitMerge(
|
||||||
List<string> inputs,
|
List<string> inputs,
|
||||||
bool onlyNeeded,
|
bool onlyNeeded,
|
||||||
@@ -495,7 +506,8 @@ namespace RombaSharp
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Wrap creating a havefile and a missfile for each Dat
|
/// Wrap creating a havefile and a missfile for each Dat
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="inputs">List of DAT files to get a miss and have for</param>
|
/// <param name="inputs">List of DAT files to get a miss and have for, empty means all</param>
|
||||||
|
/// TODO: Implement
|
||||||
private static void InitMiss(List<string> inputs)
|
private static void InitMiss(List<string> inputs)
|
||||||
{
|
{
|
||||||
Globals.Logger.Error("This feature is not yet implemented: miss");
|
Globals.Logger.Error("This feature is not yet implemented: miss");
|
||||||
@@ -517,6 +529,7 @@ namespace RombaSharp
|
|||||||
/// <param name="depot">List of depots to scan files in, empty means all</param>
|
/// <param name="depot">List of depots to scan files in, empty means all</param>
|
||||||
/// <param name="dats">List of DATs to use as the basis of scanning, empty means all</param>
|
/// <param name="dats">List of DATs to use as the basis of scanning, empty means all</param>
|
||||||
/// <param name="logOnly">True if only the output of the operation is shown, false to actually run</param>
|
/// <param name="logOnly">True if only the output of the operation is shown, false to actually run</param>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitPurgeBackup(
|
private static void InitPurgeBackup(
|
||||||
string backup,
|
string backup,
|
||||||
int workers,
|
int workers,
|
||||||
@@ -536,6 +549,7 @@ namespace RombaSharp
|
|||||||
/// <param name="depot">List of depots to scan files in, empty means all</param>
|
/// <param name="depot">List of depots to scan files in, empty means all</param>
|
||||||
/// <param name="dats">List of DATs to use as the basis of scanning, empty means all</param>
|
/// <param name="dats">List of DATs to use as the basis of scanning, empty means all</param>
|
||||||
/// <param name="logOnly">True if only the output of the operation is shown, false to actually run</param>
|
/// <param name="logOnly">True if only the output of the operation is shown, false to actually run</param>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitPurgeDelete(
|
private static void InitPurgeDelete(
|
||||||
int workers,
|
int workers,
|
||||||
List<string> depot,
|
List<string> depot,
|
||||||
@@ -552,6 +566,7 @@ namespace RombaSharp
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="workers">How many workers to launch for the job, default from config</param>
|
/// <param name="workers">How many workers to launch for the job, default from config</param>
|
||||||
/// <param name="missingSha1s">Write paths of dats with missing sha1s into this file</param>
|
/// <param name="missingSha1s">Write paths of dats with missing sha1s into this file</param>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitRefreshDats(
|
private static void InitRefreshDats(
|
||||||
int workers,
|
int workers,
|
||||||
string missingSha1s)
|
string missingSha1s)
|
||||||
@@ -565,6 +580,7 @@ namespace RombaSharp
|
|||||||
/// Wrap rescanning depots
|
/// Wrap rescanning depots
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="inputs">List of depots to rescan, empty means all</param>
|
/// <param name="inputs">List of depots to rescan, empty means all</param>
|
||||||
|
/// TODO: Verify implementation
|
||||||
private static void InitRescanDepots(List<string> inputs)
|
private static void InitRescanDepots(List<string> inputs)
|
||||||
{
|
{
|
||||||
Globals.Logger.Error("This feature is not yet implemented: rescan-depots");
|
Globals.Logger.Error("This feature is not yet implemented: rescan-depots");
|
||||||
|
|||||||
Reference in New Issue
Block a user