Skip to content

Commit

Permalink
Add Path CompareTo() (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyk4j authored Feb 28, 2024
1 parent f0e4766 commit 17648dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JShim/Sun/NIO/FS/WindowsPath.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public WindowsPath(WindowsFileSystem fs,
/// <returns></returns>
public int CompareTo(Path other)
{
return 0;
return ToString().CompareTo(other.ToString());
}

/// <summary>
Expand Down

0 comments on commit 17648dc

Please sign in to comment.