<PackageReference Include="Testably.Abstractions.FileSystem.Interface" Version="11.0.0" />
API Differences between 11.0.0 and 10.1.0
80 Additions
1 Removals
System.IO.Abstractions
-
public interface IDirectory : IFileSystemEntity
-
public interface IFile : IFileSystemEntity
- void AppendAllBytes(string path, byte[] bytes)
- void AppendAllBytes(string path, ReadOnlySpan<byte> bytes)
- Task AppendAllBytesAsync(string path, byte[] bytes, CancellationToken cancellationToken = default)
- Task AppendAllBytesAsync(string path, ReadOnlyMemory<byte> bytes, CancellationToken cancellationToken = default)
- void AppendAllText(string path, ReadOnlySpan<char> contents)
- void AppendAllText(string path, ReadOnlySpan<char> contents, Encoding encoding)
- Task AppendAllTextAsync(string path, ReadOnlyMemory<char> contents, CancellationToken cancellationToken = default)
- Task AppendAllTextAsync(string path, ReadOnlyMemory<char> contents, Encoding encoding, CancellationToken cancellationToken = default)
- IFileSystemInfo CreateHardLink(string path, string pathToTarget)
- IFileSystemInfo CreateSymbolicLink(string path, string pathToTarget)
- FileAttributes GetAttributes(SafeFileHandle fileHandle)
- DateTime GetCreationTime(SafeFileHandle fileHandle)
- DateTime GetCreationTimeUtc(SafeFileHandle fileHandle)
- DateTime GetLastAccessTime(SafeFileHandle fileHandle)
- DateTime GetLastAccessTimeUtc(SafeFileHandle fileHandle)
- DateTime GetLastWriteTime(SafeFileHandle fileHandle)
- DateTime GetLastWriteTimeUtc(SafeFileHandle fileHandle)
- UnixFileMode GetUnixFileMode(string path)
- UnixFileMode GetUnixFileMode(SafeFileHandle fileHandle)
- void Move(string sourceFileName, string destFileName, bool overwrite)
- FileSystemStream Open(string path, FileStreamOptions options)
- SafeFileHandle OpenHandle(string path, FileMode mode = 3, FileAccess access = 1, FileShare share = 1, FileOptions options = 0, long preallocationSize = 0)
- SafeFileHandle OpenNullHandle()
- IAsyncEnumerable<string> ReadLinesAsync(string path, CancellationToken cancellationToken = default)
- IAsyncEnumerable<string> ReadLinesAsync(string path, Encoding encoding, CancellationToken cancellationToken = default)
- IFileSystemInfo ResolveLinkTarget(string linkPath, bool returnFinalTarget)
- void SetAttributes(SafeFileHandle fileHandle, FileAttributes fileAttributes)
- void SetCreationTime(SafeFileHandle fileHandle, DateTime creationTime)
- void SetCreationTimeUtc(SafeFileHandle fileHandle, DateTime creationTimeUtc)
- void SetLastAccessTime(SafeFileHandle fileHandle, DateTime lastAccessTime)
- void SetLastAccessTimeUtc(SafeFileHandle fileHandle, DateTime lastAccessTimeUtc)
- void SetLastWriteTime(SafeFileHandle fileHandle, DateTime lastWriteTime)
- void SetLastWriteTimeUtc(SafeFileHandle fileHandle, DateTime lastWriteTimeUtc)
- void SetUnixFileMode(string path, UnixFileMode mode)
- void SetUnixFileMode(SafeFileHandle fileHandle, UnixFileMode mode)
- void WriteAllBytes(string path, ReadOnlySpan<byte> bytes)
- Task WriteAllBytesAsync(string path, ReadOnlyMemory<byte> bytes, CancellationToken cancellationToken = default)
- void WriteAllText(string path, ReadOnlySpan<char> contents)
- void WriteAllText(string path, ReadOnlySpan<char> contents, Encoding encoding)
- Task WriteAllTextAsync(string path, ReadOnlyMemory<char> contents, CancellationToken cancellationToken = default)
- Task WriteAllTextAsync(string path, ReadOnlyMemory<char> contents, Encoding encoding, CancellationToken cancellationToken = default)
-
public interface IFileInfo : IFileSystemInfo
-
public interface IFileStreamFactory : IFileSystemEntity
-
public interface IFileSystem
-
public interface IFileSystemInfo
-
public interface IFileSystemWatcher : IFileSystemEntity, IDisposable
-
public interface IPath : IFileSystemEntity
-
public interface IRandomAccess : IFileSystemEntity
- void FlushToDisk(SafeFileHandle handle)
- long GetLength(SafeFileHandle handle)
- int Read(SafeFileHandle handle, Span<byte> buffer, long fileOffset)
- long Read(SafeFileHandle handle, IReadOnlyList<Memory<byte>> buffers, long fileOffset)
- ValueTask<int> ReadAsync(SafeFileHandle handle, Memory<byte> buffer, long fileOffset, CancellationToken cancellationToken = default)
- ValueTask<long> ReadAsync(SafeFileHandle handle, IReadOnlyList<Memory<byte>> buffers, long fileOffset, CancellationToken cancellationToken = default)
- void SetLength(SafeFileHandle handle, long length)
- void Write(SafeFileHandle handle, ReadOnlySpan<byte> buffer, long fileOffset)
- void Write(SafeFileHandle handle, IReadOnlyList<ReadOnlyMemory<byte>> buffers, long fileOffset)
- ValueTask WriteAsync(SafeFileHandle handle, ReadOnlyMemory<byte> buffer, long fileOffset, CancellationToken cancellationToken = default)
- ValueTask WriteAsync(SafeFileHandle handle, IReadOnlyList<ReadOnlyMemory<byte>> buffers, long fileOffset, CancellationToken cancellationToken = default)
Testably.Abstractions.Polyfills