<PackageReference Include="Testably.Abstractions.FileSystem.Interface" Version="11.0.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 CreateAsHardLink(string pathToTarget)

void Decrypt()

void Encrypt()

void MoveTo(string destFileName)

void MoveTo(string destFileName, bool overwrite)

IFileInfo Replace(string destinationFileName, string destinationBackupFileName)

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