IIOProvider.cs
1 // Copyright (c) Microsoft Corporation 2 // The Microsoft Corporation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 namespace Microsoft.PowerToys.Settings.UI.Library.Utilities 6 { 7 public interface IIOProvider 8 { 9 bool FileExists(string path); 10 11 bool DirectoryExists(string path); 12 13 bool CreateDirectory(string path); 14 15 void DeleteDirectory(string path); 16 17 void WriteAllText(string path, string content); 18 19 string ReadAllText(string path); 20 } 21 }