From 8069c17d9826654e53bd8bd85f40493d48e44400 Mon Sep 17 00:00:00 2001 From: montoner0 Date: Sat, 14 Dec 2024 16:16:41 +0300 Subject: [PATCH 1/2] An attempt to clarify meaning of the FileSystem property for #1173 --- src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs b/src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs index 8f2416451..860b6fc6e 100644 --- a/src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs +++ b/src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs @@ -8,6 +8,9 @@ public interface IFileSystemInfo /// /// Exposes the underlying filesystem implementation. This is useful for implementing extension methods. /// + /// + /// The property is always a global object related to a global current directory. + /// IFileSystem FileSystem { get; } /// @@ -74,4 +77,4 @@ UnixFileMode UnixFileMode IFileSystemInfo? ResolveLinkTarget(bool returnFinalTarget); #endif } -} \ No newline at end of file +} From 5ffde3cab20cc0235934d52c6e06a9c467ed6af9 Mon Sep 17 00:00:00 2001 From: montoner0 Date: Sat, 14 Dec 2024 23:31:56 +0300 Subject: [PATCH 2/2] Fix wording --- src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs b/src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs index 860b6fc6e..9850790d7 100644 --- a/src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs +++ b/src/TestableIO.System.IO.Abstractions/IFileSystemInfo.cs @@ -9,7 +9,7 @@ public interface IFileSystemInfo /// Exposes the underlying filesystem implementation. This is useful for implementing extension methods. /// /// - /// The property is always a global object related to a global current directory. + /// The property is always a global object related to the global current directory. /// IFileSystem FileSystem { get; }