暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }