File: IFileSystemProxy.cs
Web Access
Project: src\src\VersionTools\Microsoft.DotNet.VersionTools.Cli\Microsoft.DotNet.VersionTools.Cli.csproj (Microsoft.DotNet.VersionTools.Cli)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.DotNet.VersionTools.Cli;
 
public interface IDirectoryProxy
{
    bool Exists(string path);
    string[] GetFiles(string path, string searchPattern, System.IO.SearchOption searchOption);
}
 
public interface IFileProxy
{
    void Move(string sourceFileName, string destFileName);
}