package
1.4.0-rc3
Repository: https://github.com/inful/gitea.git
Documentation: pkg.go.dev

# Functions

BatchHandler provides the batch api.
ContentMatcher provides a mux.MatcherFunc that only allows requests that contain an Accept header with the contentMediaType.
GetListLockHandler list locks.
MetaMatcher provides a mux.MatcherFunc that only allows requests that contain an Accept header with the metaMediaType.
ObjectOidHandler is the main request routing entry point into LFS server functions.
PostHandler instructs the client how to upload data.
PostLockHandler create lock.
PutHandler receives data from the client and puts it into the content store.
Represent takes a RequestVars and Meta and turns it into a Representation suitable for json encoding.
UnLockHandler delete locks.
VerifyHandler verify oid and its size from the content store.
VerifyLockHandler list locks for verification.

# Structs

BatchResponse contains multiple object metadata Representation structures for use with the batch API.
BatchVars contains multiple RequestVars processed in one batch operation.
ContentStore provides a simple file system based storage.
ObjectError defines the JSON structure returned to the client in case of an error.
Representation is object metadata as seen by clients of the lfs server.
RequestVars contain variables from the HTTP request.