fix: actually use the correct path when setting up vfs, fix warnings

use paramref instead of see

fix warnings
This commit is contained in:
goat 2023-09-29 18:53:56 +02:00
parent 979dc825b3
commit e9e234b340
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
3 changed files with 10 additions and 8 deletions

View file

@ -60,7 +60,7 @@ public static class ImGuiClip
}
/// <summary>
/// Draws the enumerable data with <see cref="itemsPerLine"/> number of items per line.
/// Draws the enumerable data with <paramref name="itemsPerLine"/> number of items per line.
/// </summary>
/// <param name="data">Enumerable containing data to draw.</param>
/// <param name="draw">The function to draw a single item.</param>

View file

@ -48,7 +48,9 @@ public class ScopedPluginLogService : IServiceType, IPluginLog, IDisposable
set => this.levelSwitch.MinimumLevel = value;
}
/// <inheritdoc />
/// <summary>
/// Gets a logger that may be exposed to plugins some day.
/// </summary>
public ILogger Logger { get; }
/// <inheritdoc />

View file

@ -41,7 +41,7 @@ public class ReliableFileStorage : IServiceType, IDisposable
try
{
this.SetupDb(vfsDbPath);
this.SetupDb(databasePath);
}
catch (Exception ex)
{
@ -49,15 +49,15 @@ public class ReliableFileStorage : IServiceType, IDisposable
try
{
if (File.Exists(vfsDbPath))
File.Delete(vfsDbPath);
if (File.Exists(databasePath))
File.Delete(databasePath);
this.SetupDb(databasePath);
}
catch (Exception)
{
// ignored
// ignored, we can run without one
}
this.SetupDb(vfsDbPath);
}
}