Skip to main content

Module lfs_locks

Module lfs_locks 

Source
Expand description

Git LFS File Locking API server (O-8) per .spec/sot/git-lfs-locking.sot.md.

Endpoints:

  • POST /info/lfs/locks (create lock; 201 new, 409 conflict with existing lock)
  • GET /info/lfs/locks (list locks with optional path, id, limit, cursor)
  • POST /info/lfs/locks/verify (partition locks into ours vs theirs)
  • POST /info/lfs/locks/{id}/unlock (release lock by owner or force: true admin)

Structs§

LfsLock
LfsLockOwner

Constants§

LFS_JSON_CONTENT_TYPE

Functions§

handle_lfs_locks
Dispatch Git LFS Locking API requests under /info/lfs/locks*. Returns None if req.path is not a locks endpoint.