/// <exception cref="System.IO.IOException"></exception> protected internal virtual string Read(FilePath f) { return(JGitTestUtil.Read(f)); }
/// <summary>Write a string as a UTF-8 file.</summary> /// <remarks>Write a string as a UTF-8 file.</remarks> /// <param name="f"> /// file to write the string to. Caller is responsible for making /// sure it is in the trash directory or will otherwise be cleaned /// up at the end of the test. If the parent directory does not /// exist, the missing parent directories are automatically /// created. /// </param> /// <param name="body">content to write to the file.</param> /// <exception cref="System.IO.IOException">the file could not be written.</exception> protected internal virtual void Write(FilePath f, string body) { JGitTestUtil.Write(f, body); }