mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Update Compress library from RVWorld latest
This commit is contained in:
@@ -340,4 +340,4 @@ namespace Compress.Utils
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,22 +18,7 @@ namespace Compress.Utils
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
while ((strTemp.Length > 0) && !Directory.Exists(strTemp))
|
||||
{
|
||||
int pos = strTemp.LastIndexOf(Path.DirectorySeparatorChar);
|
||||
if (pos < 0)
|
||||
{
|
||||
pos = 0;
|
||||
}
|
||||
strTemp = strTemp.Substring(0, pos);
|
||||
}
|
||||
|
||||
while (sFilename.IndexOf(Path.DirectorySeparatorChar, strTemp.Length + 1) > 0)
|
||||
{
|
||||
strTemp = sFilename.Substring(0, sFilename.IndexOf(Path.DirectorySeparatorChar, strTemp.Length + 1));
|
||||
Directory.CreateDirectory(strTemp);
|
||||
}
|
||||
Directory.CreateDirectory(strTemp);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -40,4 +40,4 @@ namespace Compress.Utils
|
||||
return v == null ? "NULL" : ((ulong)v).ToString("X8");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
9
SabreTools.FileTypes/Compress/Utils/TimeStamps.cs
Normal file
9
SabreTools.FileTypes/Compress/Utils/TimeStamps.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Compress.Utils
|
||||
{
|
||||
public class TimeStamps
|
||||
{
|
||||
public long? ModTime;
|
||||
public long? CreateTime;
|
||||
public long? AccessTime;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user