Versions in this module Expand all Collapse all v1 v1.8.1 May 8, 2019 Changes in this version + func BatchHandler(ctx *context.Context) + func ContentMatcher(r macaron.Request) bool + func GetListLockHandler(ctx *context.Context) + func IsPointerFile(buf *[]byte) *models.LFSMetaObject + func MetaMatcher(r macaron.Request) bool + func ObjectOidHandler(ctx *context.Context) + func PostHandler(ctx *context.Context) + func PostLockHandler(ctx *context.Context) + func PutHandler(ctx *context.Context) + func ReadMetaObject(meta *models.LFSMetaObject) (io.ReadCloser, error) + func ReadPointerFile(reader io.Reader) (*models.LFSMetaObject, *[]byte) + func UnLockHandler(ctx *context.Context) + func VerifyHandler(ctx *context.Context) + func VerifyLockHandler(ctx *context.Context) + type BatchResponse struct + Objects []*Representation + Transfer string + type BatchVars struct + Objects []*RequestVars + Operation string + Transfers []string + type ContentStore struct + BasePath string + func (s *ContentStore) Exists(meta *models.LFSMetaObject) bool + func (s *ContentStore) Get(meta *models.LFSMetaObject, fromByte int64) (io.ReadCloser, error) + func (s *ContentStore) Put(meta *models.LFSMetaObject, r io.Reader) error + func (s *ContentStore) Verify(meta *models.LFSMetaObject) (bool, error) + type ObjectError struct + Code int + Message string + type Representation struct + Actions map[string]*link + Error *ObjectError + Oid string + Size int64 + func Represent(rv *RequestVars, meta *models.LFSMetaObject, download, upload bool) *Representation + type RequestVars struct + Authorization string + Oid string + Password string + Repo string + Size int64 + User string + func (v *RequestVars) ObjectLink() string + func (v *RequestVars) VerifyLink() string