Skip to content

Commit

Permalink
PR FIXUP - Document HeadFetcher.Start
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewSisley committed Nov 7, 2024
1 parent 1ea2333 commit 5dd97bb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions internal/db/fetcher/dag.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ type HeadFetcher struct {
kvIter dsq.Results
}

// Start starts/initializes the fetcher, performing all the work it can do outside
// of the main iteration loop/funcs.
//
// prefix - Optional. The headstore prefix to scan across. If None, the entire
// headstore will be scanned - for example, in order to fetch document and collection
// heads.
func (hf *HeadFetcher) Start(
ctx context.Context,
txn datastore.Txn,
Expand Down

0 comments on commit 5dd97bb

Please sign in to comment.