Пример #1
0
 public void Update(FileUpsert file)
 {
     _api.Put().With(file).Stream(_repoPath + "/files", s => { });
 }
Пример #2
0
 public void Update(FileUpsert file)
 {
     api.Put().With(file).Stream(repoPath + GetFilePath(file.Path, file.Branch), s => { });
 }
Пример #3
0
 public Task UpdateAsync(FileUpsert file)
 {
     return(api.Put().With(file).StreamAsync(repoPath + GetFilePath(file.Path, file.Branch), s => Task.FromResult(0)));
 }
Пример #4
0
 public void Create(FileUpsert file)
 {
     _api.Post().With(file).Stream(_repoPath + "/files", (s, headers) => { });
 }