Move Compare to better namespace

This commit is contained in:
Matt Nadareski
2025-09-30 21:25:56 -04:00
parent 72910cc1c0
commit 7ccedbeac5
8 changed files with 11 additions and 11 deletions

View File

@@ -14,10 +14,6 @@ Below are a list of the included namespaces and their overall utility.
Generic helper classes that involve custom functionality and utility.
### `SabreTools.IO.Compare`
Classes focused on string comparison by natural sorting. For example, "5" would be sorted before "100".
### `SabreTools.IO.Compression`
Various compression implementations that are used across multiple projects. Most of the implementations are be ports of existing C and C++ code.
@@ -96,6 +92,10 @@ Custom `Stream` implementations that are required for specialized use:
- `ReadOnlyCompositeStream`: A readonly stream implementation that wraps multiple source streams in a set order
- `ViewStream`: A readonly stream implementation representing a view into source data
### `SabreTools.Text.Compare`
Classes focused on string comparison by natural sorting. For example, "5" would be sorted before "100".
## Releases
For the most recent stable build, download the latest release here: [Releases Page](https://github.com/SabreTools/SabreTools.IO/releases)

View File

@@ -1,6 +1,6 @@
using System;
using System.Linq;
using SabreTools.IO.Compare;
using SabreTools.Text.Compare;
using Xunit;
namespace SabreTools.IO.Test.Compare

View File

@@ -1,4 +1,4 @@
using SabreTools.IO.Compare;
using SabreTools.Text.Compare;
using Xunit;
namespace SabreTools.IO.Test.Compare

View File

@@ -1,6 +1,6 @@
using System;
using System.Linq;
using SabreTools.IO.Compare;
using SabreTools.Text.Compare;
using Xunit;
namespace SabreTools.IO.Test.Compare

View File

@@ -13,7 +13,7 @@ using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace SabreTools.IO.Compare
namespace SabreTools.Text.Compare
{
public class NaturalComparer : Comparer<string>, IDisposable
{

View File

@@ -1,4 +1,4 @@
namespace SabreTools.IO.Compare
namespace SabreTools.Text.Compare
{
internal static class NaturalComparerUtil
{

View File

@@ -13,7 +13,7 @@ using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace SabreTools.IO.Compare
namespace SabreTools.Text.Compare
{
public class NaturalReversedComparer : Comparer<string>, IDisposable
{

View File

@@ -2,8 +2,8 @@ using System;
using System.Collections.Generic;
using System.IO;
using System.Text.RegularExpressions;
using SabreTools.IO.Compare;
using SabreTools.IO.Extensions;
using SabreTools.Text.Compare;
namespace SabreTools.IO
{