Versions in this module Expand all Collapse all v0 v0.1.0 Dec 19, 2022 Changes in this version + const LocalBackendLockVersion + func NewLocalBackendLock(root, pathName string, time *time.Time, ownerName string) transfer.Lock + func NewLockBackend(backend transfer.Backend, lockPath string) transfer.LockBackend + type LocalBackend struct + func New(lfsPath string, umask os.FileMode, timestamp *time.Time) *LocalBackend + func (l *LocalBackend) Batch(_ transfer.Operation, oids []transfer.OidWithSize) ([]transfer.BatchItem, error) + func (l *LocalBackend) Download(oid transfer.Oid, args ...string) (fs.File, error) + func (l *LocalBackend) FinishUpload(state interface{}, args ...string) error + func (l *LocalBackend) FixPermissions(path string) (transfer.Status, error) + func (l *LocalBackend) LockBackend() transfer.LockBackend + func (l *LocalBackend) StartUpload(oid transfer.Oid, r io.Reader, args ...string) (interface{}, error) + func (l *LocalBackend) Verify(oid transfer.Oid, args map[string]string) (transfer.Status, error) + type LockFile struct + func NewLockFile(path string) (*LockFile, error) + func (l *LockFile) Close() error + func (l *LockFile) Persist() error + func (l *LockFile) Remove() error + func (l *LockFile) Write(data []byte) (int, error) + type UploadState struct + Oid transfer.Oid + TempFile *os.File