[DatFile] Remove TODOs

This commit is contained in:
Matt Nadareski
2017-02-24 12:08:33 -08:00
parent f3a6aeee8d
commit 8e1bce1d06
2 changed files with 0 additions and 8 deletions

View File

@@ -59,13 +59,6 @@ namespace SabreTools.Helper.Dats
/// <param name="descAsName">True if descriptions should be used as names, false otherwise (default)</param> /// <param name="descAsName">True if descriptions should be used as names, false otherwise (default)</param>
/// <param name="keepext">True if original extension should be kept, false otherwise (default)</param> /// <param name="keepext">True if original extension should be kept, false otherwise (default)</param>
/// <param name="useTags">True if tags from the DAT should be used to merge the output, false otherwise (default)</param> /// <param name="useTags">True if tags from the DAT should be used to merge the output, false otherwise (default)</param>
/// <remarks>
/// TODO: Add CSV and TSV parsing.
/// Can they be in the same parser? All it would technically need is the delimiter that it should be looking
/// for and it would be able to read them individually. Also, take into account different types of formats,
/// possibly by looking at the first line headings, determining what columns those correspond to, and then
/// keeping track of what goes to what in the map. That would allow for a VERY flexible reading of inputs.
/// </remarks>
public void Parse( public void Parse(
// Standard Dat parsing // Standard Dat parsing
string filename, string filename,

View File

@@ -999,7 +999,6 @@ namespace SabreTools.Helper.Dats
RepExt = ""; RepExt = "";
} }
// TODO: Find out why this code strips out partial paths
string dir = Path.GetDirectoryName(name); string dir = Path.GetDirectoryName(name);
dir = (dir.StartsWith(Path.DirectorySeparatorChar.ToString()) ? dir.Remove(0, 1) : dir); dir = (dir.StartsWith(Path.DirectorySeparatorChar.ToString()) ? dir.Remove(0, 1) : dir);
name = Path.Combine(dir, Path.GetFileNameWithoutExtension(name) + RepExt); name = Path.Combine(dir, Path.GetFileNameWithoutExtension(name) + RepExt);