Class: Gitlab::Git::LfsChanges
- Inherits:
-
Object
- Object
- Gitlab::Git::LfsChanges
- Defined in:
- lib/gitlab/git/lfs_changes.rb
Instance Method Summary collapse
- #all_pointers ⇒ Object
-
#initialize(repository, newrevs = nil) ⇒ LfsChanges
constructor
A new instance of LfsChanges.
- #new_pointers(object_limit: nil, not_in: nil, dynamic_timeout: nil) ⇒ Object
Constructor Details
#initialize(repository, newrevs = nil) ⇒ LfsChanges
Returns a new instance of LfsChanges.
6 7 8 9 |
# File 'lib/gitlab/git/lfs_changes.rb', line 6 def initialize(repository, newrevs = nil) @repository = repository @newrevs = newrevs end |
Instance Method Details
#all_pointers ⇒ Object
15 16 17 |
# File 'lib/gitlab/git/lfs_changes.rb', line 15 def all_pointers @repository.gitaly_blob_client.get_all_lfs_pointers end |
#new_pointers(object_limit: nil, not_in: nil, dynamic_timeout: nil) ⇒ Object
11 12 13 |
# File 'lib/gitlab/git/lfs_changes.rb', line 11 def new_pointers(object_limit: nil, not_in: nil, dynamic_timeout: nil) @repository.gitaly_blob_client.get_new_lfs_pointers(@newrevs, object_limit, not_in, dynamic_timeout) end |