lfs

package
v1.20.0-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 7, 2023 License: MIT Imports: 30 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchHandler

func BatchHandler(ctx *context.Context)

BatchHandler provides the batch api

func CheckAcceptMediaType

func CheckAcceptMediaType(ctx *context.Context)

CheckAcceptMediaType checks if the client accepts the LFS media type.

func DownloadHandler

func DownloadHandler(ctx *context.Context)

DownloadHandler gets the content from the content store

func GetListLockHandler

func GetListLockHandler(ctx *context.Context)

GetListLockHandler list locks

func PostLockHandler

func PostLockHandler(ctx *context.Context)

PostLockHandler create lock

func UnLockHandler

func UnLockHandler(ctx *context.Context)

UnLockHandler delete locks

func UploadHandler

func UploadHandler(ctx *context.Context)

UploadHandler receives data from the client and puts it into the content store

func VerifyHandler

func VerifyHandler(ctx *context.Context)

VerifyHandler verify oid and its size from the content store

func VerifyLockHandler

func VerifyLockHandler(ctx *context.Context)

VerifyLockHandler list locks for verification

Types

type Claims

type Claims struct {
	RepoID int64
	Op     string
	UserID int64
	jwt.RegisteredClaims
}

Claims is a JWT Token Claims

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL