<PackageReference Include="Testably.Abstractions.FileSystem.Interface" Version="10.3.0" />

System.IO.Abstractions.IFileInfo

public interface IFileInfo : IFileSystemInfo

string DirectoryName { get; }

bool IsReadOnly { get; set; }

long Length { get; }

IFileInfo CopyTo(string destFileName)

IFileInfo CopyTo(string destFileName, bool overwrite)

void Decrypt()

void Encrypt()

void MoveTo(string destFileName)

IFileInfo Replace(string destinationFileName, string destinationBackupFileName)

IFileInfo Replace(string destinationFileName, string destinationBackupFileName, bool ignoreMetadataErrors)