mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Remove TODOs
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user