Class: GitRefsFinder

Inherits:
Object
  • Object
show all
Includes:
Gitlab::Utils::StrongMemoize
Defined in:
app/finders/git_refs_finder.rb

Direct Known Subclasses

BranchesFinder, TagsFinder

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(repository, params = {}) ⇒ GitRefsFinder

Returns a new instance of GitRefsFinder.



8
9
10
11
12
# File 'app/finders/git_refs_finder.rb', line 8

def initialize(repository, params = {})
  @repository = repository
  @params = params
  @next_cursor = nil
end

Instance Attribute Details

#next_cursorObject (readonly)

Returns the value of attribute next_cursor.



6
7
8
# File 'app/finders/git_refs_finder.rb', line 6

def next_cursor
  @next_cursor
end