2019-02-15 15:39:39 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
module Gitlab
|
|
|
|
module Git
|
|
|
|
class LfsChanges
|
|
|
|
def initialize(repository, newrev)
|
|
|
|
@repository = repository
|
|
|
|
@newrev = newrev
|
|
|
|
end
|
|
|
|
|
2018-12-13 13:39:08 +05:30
|
|
|
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-03-27 19:54:05 +05:30
|
|
|
end
|
|
|
|
|
|
|
|
def all_pointers
|
2018-11-08 19:23:39 +05:30
|
|
|
@repository.gitaly_blob_client.get_all_lfs_pointers(@newrev)
|
2018-03-17 18:26:18 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|