debian-mirror-gitlab/lib/gitlab/git/lfs_changes.rb

21 lines
502 B
Ruby
Raw Normal View History

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
2020-04-22 19:07:51 +05:30
def initialize(repository, newrev = nil)
2018-03-17 18:26:18 +05:30
@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
2020-04-22 19:07:51 +05:30
@repository.gitaly_blob_client.get_all_lfs_pointers
2018-03-17 18:26:18 +05:30
end
end
end
end