Exemple #1
0
 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));
     }
 }
Exemple #2
0
 public byte[] GetFileContents(IGetScmFileContentArgs args)
 {
     throw new NotImplementedException();
 }