2017-08-24 21:30:12 -04:00
|
|
|
module Gitlab
|
|
|
|
module Git
|
|
|
|
class LfsChanges
|
|
|
|
def initialize(repository, newrev)
|
|
|
|
@repository = repository
|
|
|
|
@newrev = newrev
|
|
|
|
end
|
|
|
|
|
|
|
|
def new_pointers(object_limit: nil, not_in: nil)
|
2018-06-19 09:57:27 -04:00
|
|
|
@repository.gitaly_blob_client.get_new_lfs_pointers(@newrev, object_limit, not_in)
|
2018-02-06 17:49:33 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
def all_pointers
|
2018-06-19 09:57:27 -04:00
|
|
|
@repository.gitaly_blob_client.get_all_lfs_pointers(@newrev)
|
2018-06-07 13:09:45 -04:00
|
|
|
end
|
2017-08-24 21:30:12 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|