2018-11-09 13:39:43 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-24 21:30:12 -04:00
|
|
|
module Gitlab
|
|
|
|
module Git
|
|
|
|
class LfsChanges
|
2020-03-23 14:09:25 -04:00
|
|
|
def initialize(repository, newrev = nil)
|
2017-08-24 21:30:12 -04:00
|
|
|
@repository = repository
|
|
|
|
@newrev = newrev
|
|
|
|
end
|
|
|
|
|
2018-10-22 10:49:20 -04:00
|
|
|
def new_pointers(object_limit: nil, not_in: nil, dynamic_timeout: nil)
|
|
|
|
@repository.gitaly_blob_client.get_new_lfs_pointers(@newrev, object_limit, not_in, dynamic_timeout)
|
2018-02-06 17:49:33 -05:00
|
|
|
end
|
|
|
|
|
|
|
|
def all_pointers
|
2020-03-25 05:08:11 -04:00
|
|
|
@repository.gitaly_blob_client.get_all_lfs_pointers
|
2018-06-07 13:09:45 -04:00
|
|
|
end
|
2017-08-24 21:30:12 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|