public byte[] GetFileContents(IGetScmFileContentArgs args) { using (var tempFile = new TempFile()) { var ab = new ArgBuilder(); ab.Add("cat"); ab.Add(args.File); ab.Add($"--output \"{tempFile}\""); RunCommand(ab, args); return(File.ReadAllBytes(tempFile.FilePath)); } }
public byte[] GetFileContents(IGetScmFileContentArgs args) { throw new NotImplementedException(); }