Tom Longhurst
cd1835326b
Fix xUnit Warnings ( #2906 )
...
* Fix xUnit Warnings
* Fix
* Fix formatting in AsyncPaginationExtensionGenerator.cs
---------
Co-authored-by: Keegan Campbell <me@kfcampbell.com >
2024-04-15 13:19:26 -07:00
Jericho
1eac8315ff
(fix) RepositoryContentsClient.GetArchive does not return the expected binary content ( #2803 )
...
* (GH-2802) Add unit test to demonstrate the problem
This unit test currently fails which demonstrates the problem and it should pass when I am done with the PR
* (GH-2802) Add a GetRaw method that accepts a timeout
I debated adding an optional parameter for the timeout to the existing GetRaw method (which would be my personal preference) but it would be a breaking change and I doubt the Octokit team would be interested in such a change
* (GH-2802) Invoke `GetRaw` rather than `Get>byte[]>` when retrieving a repo's archive content.
This ensure stream content are handled properly and solves the problem described in GitHub issue 2802
* (GH-2802) Fix unit tests that got broken due to my recent change to the GetArchive method
* (GH-2802) Fix formatting
* (GH-2802) Fix more formatting
2023-10-16 10:38:12 -07:00
Chris Simpson
8b5a7fceaf
feat: Fixing master > main in integration tests ( #2489 )
2022-07-20 17:17:10 -05:00
Cédric Luthi
69d118230d
Add support to get raw file content as byte[] ( #2151 )
2020-04-12 13:22:35 -03:00
Jérémie Bertrand
88e5342562
Allow base64 content for create/update file ( #1488 )
...
* Allow base64 direct content for create/update file
* Add overload to avoid breaking change
2016-11-21 22:24:53 +10:00
Alexander Efremov
d941f62904
Add repositoryId overloads to methods on I(Observable)RepositoryContentsClient ( #1348 )
2016-06-18 07:59:06 +10:00
aedampir@gmail.com
d0c8e82453
Red Tests were fixed
...
Unused 'using' directive were removed.
2016-04-18 12:46:13 +07:00
aedampir@gmail.com
5d924de796
Unused "using" directive was removed.
...
Redundant collection list initializers were removed.
2016-03-23 12:19:35 +07:00
Prayank Mathur
db8738b675
Corrected TheUpdateMethod.EnsureArgumentsNotNull()
2016-03-17 16:38:42 +05:30
Michael Kokorin
9c6c7847b9
Fix passing wrong reference in GetArchive method of RepositoryContentsClient
2016-02-19 12:46:42 +06:00
Ryan Gribble
1bfa625f08
Add unit tests for CreateFile DeleteFile and UpdateFile
2016-02-08 22:46:47 +10:00
Naveen
9d7a17fdea
New method signatures for the getting contents by ref
...
Implemented new method signatures for the getting contents by in which
the client need not pass the path. It defaults to the root folder.
2016-01-25 16:30:21 +10:30
Brendan Forster
9c39a95044
removed tests using obsolete API
2015-12-10 08:24:12 +10:30
Phil Haack
c64e397e77
Merge pull request #730 from goalie7960/get-contents-api
...
added support for ref value in get contents api
2015-07-24 14:25:00 -07:00
Mordechai Zuber
750e85c325
RepoCollaborators, Repositories, RepositoryCommen...
...
ts, RepositoryContents
2015-05-18 03:12:50 +03:00
Chris Heckathorne
b324bab413
fixed up naming conventions
2015-05-11 10:31:57 -04:00
Chris Heckathorne
c6f89b5a18
attempt at adding unit test
2015-05-08 16:18:52 -04:00
Henrik Andersson
a5ce58b0c3
Fix 'em tests
2015-05-08 18:31:52 +10:00
Henrik Andersson
872f1f03ca
Add unit tests
2015-05-08 18:31:45 +10:00
Micah
c3a67ae777
Creates constructors for all Models.Response.
...
Resolves https://github.com/octokit/octokit.net/issues/677 .
Removes obscolete properties (gravatar).
Makes Models.Response properties all be protected (most were already).
2015-01-24 16:07:03 -08:00
Haacked
fdd9073e43
Fix a broken README.md test
2015-01-02 01:14:15 -08:00
Kristian Hellang
bed18b9980
Moved GetReadme and GetReadmeHtml to Contents
2015-01-02 01:08:25 -08:00