1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix typos in models/ and modules/ (#1248)

This commit is contained in:
Ethan Koenig
2017-03-14 20:52:01 -04:00
committed by Lunny Xiao
parent ec0ae5d50c
commit 021904e4e6
26 changed files with 63 additions and 63 deletions

View File

@@ -20,7 +20,7 @@ type ContentStore struct {
BasePath string
}
// Get takes a Meta object and retreives the content from the store, returning
// Get takes a Meta object and retrieves the content from the store, returning
// it as an io.Reader. If fromByte > 0, the reader starts from that byte
func (s *ContentStore) Get(meta *models.LFSMetaObject, fromByte int64) (io.ReadCloser, error) {
path := filepath.Join(s.BasePath, transformKey(meta.Oid))

View File

@@ -50,7 +50,7 @@ type BatchResponse struct {
Objects []*Representation `json:"objects"`
}
// Representation is object medata as seen by clients of the lfs server.
// Representation is object metadata as seen by clients of the lfs server.
type Representation struct {
Oid string `json:"oid"`
Size int64 `json:"size"`