|
|
|
@ -4,7 +4,7 @@ using JetBrains.Annotations;
|
|
|
|
|
namespace StabilityMatrix.Core.Models.FileInterfaces; |
|
|
|
|
|
|
|
|
|
[PublicAPI] |
|
|
|
|
public class FileSystemPath : IEquatable<FileSystemPath>, IEquatable<string>, IFormattable |
|
|
|
|
public class FileSystemPath : IEquatable<FileSystemPath>, IFormattable |
|
|
|
|
{ |
|
|
|
|
public string FullPath { get; } |
|
|
|
|
|
|
|
|
@ -65,15 +65,6 @@ public class FileSystemPath : IEquatable<FileSystemPath>, IEquatable<string>, IF
|
|
|
|
|
); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <inheritdoc /> |
|
|
|
|
public bool Equals(string? other) |
|
|
|
|
{ |
|
|
|
|
if (ReferenceEquals(null, other)) |
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
return Equals((FileSystemPath)other); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// <inheritdoc /> |
|
|
|
|
public override bool Equals(object? obj) |
|
|
|
|
{ |
|
|
|
|