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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
506 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
2021-09-04 01:27:46 +05:30
def initialize(repository, newrevs = nil)
2018-03-17 18:26:18 +05:30
@repository = repository
2021-09-04 01:27:46 +05:30
@newrevs = newrevs
2018-03-17 18:26:18 +05:30
end
2018-12-13 13:39:08 +05:30
def new_pointers(object_limit: nil, not_in: nil, dynamic_timeout: nil)
2021-09-04 01:27:46 +05:30
@repository.gitaly_blob_client.get_new_lfs_pointers(@newrevs, 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