Skip to content

blob: Port GetAllLFSPointers and GetLFSPointers to Go

Patrick Steinhardt requested to merge pks-go-port-get-lfs-pointers into master

This MR ports both GetAllLFSPointers and GetLFSPointers to Go.

It doesn't yet port GetNewLFSPointers as it has extremely weird behaviour when it comes to filtering blobs. When requesting LFS pointers with a limit, it will first select the first n blobs (regardless of their size or LFS pointer characteristics) and then filter that down again to only include LFS pointers. So potentially, even if there's new LFS pointers, it may return none because the first n objects were all non-LFS objects. I'll fix that in a separate MR first before porting it over.

References #3059 (closed) #3058 (closed)

Merge request reports

Loading