Versions in this module Expand all Collapse all v1 v1.5.6 Feb 16, 2017 GO-2021-0073 +2 more GO-2021-0073: Arbitrary command execution in github.com/git-lfs/git-lfs GO-2025-3390: Git LFS permits exfiltration of credentials via crafted HTTP URLs in github.com/git-lfs/git-lfs GO-2025-4038: Git LFS may write to arbitrary files via crafted symlinks in github.com/git-lfs/git-lfs Changes in this version + const BasicAdapterName + const Download + const TusAdapterName + const TusVersion + const Upload + func NewCustomAdapterDownloadRequest(oid string, size int64, action *api.LinkRelation) *customAdapterTransferRequest + func NewCustomAdapterInitRequest(op string, concurrent bool, concurrentTransfers int) *customAdapterInitRequest + func NewCustomAdapterTerminateRequest() *customAdapterTerminateRequest + func NewCustomAdapterUploadRequest(oid string, size int64, path string, action *api.LinkRelation) *customAdapterTransferRequest + type Direction int + type Manifest struct + func ConfigureManifest(m *Manifest, cfg *config.Configuration) *Manifest + func NewManifest() *Manifest + func (m *Manifest) GetAdapterNames(dir Direction) []string + func (m *Manifest) GetDownloadAdapterNames() []string + func (m *Manifest) GetUploadAdapterNames() []string + func (m *Manifest) NewAdapter(name string, dir Direction) TransferAdapter + func (m *Manifest) NewAdapterOrDefault(name string, dir Direction) TransferAdapter + func (m *Manifest) NewDownloadAdapter(name string) TransferAdapter + func (m *Manifest) NewUploadAdapter(name string) TransferAdapter + func (m *Manifest) RegisterNewTransferAdapterFunc(name string, dir Direction, f NewTransferAdapterFunc) + type NewTransferAdapterFunc func(name string, dir Direction) TransferAdapter + type Transfer struct + Name string + Object *api.ObjectResource + Path string + func NewTransfer(name string, obj *api.ObjectResource, path string) *Transfer + type TransferAdapter interface + Add func(t *Transfer) + Begin func(maxConcurrency int, cb TransferProgressCallback, ...) error + ClearTempStorage func() error + Direction func() Direction + End func() + Name func() string + type TransferProgressCallback func(name string, totalSize, readSoFar int64, readSinceLast int) error + type TransferResult struct + Error error + Transfer *Transfer