mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-14 07:43:31 -07:00
Format schformat
This commit is contained in:
parent
73e2e0624b
commit
10adba3a4d
|
|
@ -8,7 +8,9 @@ namespace DiscordChatExporter.Core.Utils;
|
||||||
public static class PathEx
|
public static class PathEx
|
||||||
{
|
{
|
||||||
private static readonly HashSet<char> InvalidFileNameChars =
|
private static readonly HashSet<char> InvalidFileNameChars =
|
||||||
[..Path.GetInvalidFileNameChars()];
|
[
|
||||||
|
.. Path.GetInvalidFileNameChars()
|
||||||
|
];
|
||||||
|
|
||||||
public static string EscapeFileName(string path)
|
public static string EscapeFileName(string path)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue