Documentation
¶
Index ¶
- func BatchHandler(ctx *context.Context)
- func CheckAcceptMediaType(ctx *context.Context)
- func DownloadHandler(ctx *context.Context)
- func GetLFSAuthTokenWithBearer(opts AuthTokenOptions) (string, error)
- func GetListLockHandler(ctx *context.Context)
- func PostLockHandler(ctx *context.Context)
- func UnLockHandler(ctx *context.Context)
- func UploadHandler(ctx *context.Context)
- func VerifyHandler(ctx *context.Context)
- func VerifyLockHandler(ctx *context.Context)
- type AuthTokenOptions
- type Claims
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAcceptMediaType ¶
CheckAcceptMediaType checks if the client accepts the LFS media type.
func DownloadHandler ¶
DownloadHandler gets the content from the content store
func GetLFSAuthTokenWithBearer ¶
func GetLFSAuthTokenWithBearer(opts AuthTokenOptions) (string, error)
func GetListLockHandler ¶
GetListLockHandler list locks
func UploadHandler ¶
UploadHandler receives data from the client and puts it into the content store
func VerifyHandler ¶
VerifyHandler verify oid and its size from the content store
Types ¶
Source Files
¶
- locks.go
- server.go
Click to show internal directories.
Click to hide internal directories.