Browse Source

Remove unused Uri thing

pull/629/head
JT 8 months ago
parent
commit
c885520193
  1. 2
      StabilityMatrix.Core/Models/Database/LocalImageFile.cs

2
StabilityMatrix.Core/Models/Database/LocalImageFile.cs

@ -50,8 +50,6 @@ public record LocalImageFile
/// </summary> /// </summary>
public string FileNameWithoutExtension => Path.GetFileNameWithoutExtension(AbsolutePath); public string FileNameWithoutExtension => Path.GetFileNameWithoutExtension(AbsolutePath);
public Uri AbsolutePathUriString => new($"file://{AbsolutePath}");
public (string? Parameters, string? ParametersJson, string? SMProject, string? ComfyNodes) ReadMetadata() public (string? Parameters, string? ParametersJson, string? SMProject, string? ComfyNodes) ReadMetadata()
{ {
if (AbsolutePath.EndsWith("webp")) if (AbsolutePath.EndsWith("webp"))

Loading…
Cancel
Save