MCPcopy
hub / github.com/git-lfs/git-lfs / Unlock

Method Unlock

locking/api.go:359–361  ·  view source on GitHub ↗
(ref *git.Ref, remote, id string, force bool)

Source from the content-addressed store, hash-verified

357}
358
359func (c *genericLockClient) Unlock(ref *git.Ref, remote, id string, force bool) (*unlockResponse, int, error) {
360 return c.getClient(remote, "upload").Unlock(ref, remote, id, force)
361}
362
363func (c *genericLockClient) Search(remote string, searchReq *lockSearchRequest) (*lockList, int, error) {
364 return c.getClient(remote, "download").Search(remote, searchReq)

Callers

nothing calls this directly

Calls 2

getClientMethod · 0.95
UnlockMethod · 0.65

Tested by

no test coverage detected