Nenhuma descrição
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

IFileIO.cs 529B

1234567891011121314151617
  1. using System.IO;
  2. namespace Packages.Rider.Editor.ProjectGeneration
  3. {
  4. internal interface IFileIO
  5. {
  6. bool Exists(string path);
  7. TextReader GetReader(string path);
  8. string ReadAllText(string path);
  9. void WriteAllText(string path, string content);
  10. // rootDirectoryFullPath is assumed to be the result of Path.GetFullPath
  11. // Passing the directory with a trailing slash (Path.DirectorySeparatorChar) will avoid an allocation
  12. string EscapedRelativePathFor(string path, string rootDirectoryFullPath);
  13. }
  14. }