using System; using System.Collections.Generic; using System.IO; namespace ServiceStack.IO { public interface IVirtualFiles : IVirtualPathProvider { void WriteFile(string filePath, string textContents); void WriteFile(string filePath, Stream stream); void WriteFiles(IEnumerable files, Func toPath = null); void AppendFile(string filePath, string textContents); void AppendFile(string filePath, Stream stream); void DeleteFile(string filePath); void DeleteFiles(IEnumerable filePaths); void DeleteFolder(string dirPath); } }