This repository was archived by the owner on Jun 8, 2019. It is now read-only.
forked from gogs/go-gogs-client
-
Notifications
You must be signed in to change notification settings - Fork 53
Adds structures for repo file and blob APIs #152
Merged
zeripath
merged 13 commits into
go-gitea:master
from
richmahn:feature-4762-api-content-create-update-delete
Mar 21, 2019
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
01d4070
Adds structures for repo file and blob APIs
richmahn 65c10e8
Updates Git Blob
richmahn ee41407
Moves IdentityOptions to Identity in repo_commit for reusability
richmahn 52c898f
Formatting
richmahn f4b7a12
Fixed quote
richmahn c54e4d2
Merge remote-tracking branch 'upstream/master' into feature-4762-api-…
richmahn 93c0637
Fix to json variable
richmahn cbc0646
Fixes to comments
richmahn 449cab5
Adds copyright to header
richmahn 1e73a90
Removes unused code
richmahn daf0d4d
Makes author and committer pointers
richmahn 3a6c335
Removes Identity from being a pointer
richmahn 59b1137
proper struct
richmahn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Copyright 2019 The Gitea Authors. All rights reserved. | ||
// Use of this source code is governed by a MIT-style | ||
// license that can be found in the LICENSE file. | ||
|
||
package gitea | ||
|
||
// GitBlobResponse represents a git blob | ||
type GitBlobResponse struct { | ||
Content string `json:"content"` | ||
Encoding string `json:"encoding"` | ||
URL string `json:"url"` | ||
SHA string `json:"sha"` | ||
Size int64 `json:"size"` | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.