U:调整所有代码格式

This commit is contained in:
jimmy committed 2025-12-30 09:17:25 +08:00
1 parent d133bacf55
commit 155b67e831
342 files changed
+9431 -9868

No files matched your search

+5 -2
View File
@@ -8,7 +8,10 @@ public sealed class ConfigSource
public required ConfigFormat Format { get; init; }
public bool Optional { get; init; } = true;
public override string ToString() => $"{Format}:{Path} (Optional={Optional})";
public override string ToString()
{
return $"{Format}:{Path} (Optional={Optional})";
}
public static bool TryGuess(string path, [NotNullWhen(true)] out ConfigSource? source)
{
@@ -27,4 +30,4 @@ public sealed class ConfigSource
source = new ConfigSource { Path = path, Format = fmt.Value };
return true;
}
}
}