Skip to content

Commit

Permalink
fix(get): Additional documentation about lib/Get method.
Browse files Browse the repository at this point in the history
  • Loading branch information
dustmop committed Aug 23, 2018
1 parent 7c0cc8d commit 6108ddd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/datasets.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ func (r *DatasetRequests) List(p *ListParams, res *[]repo.DatasetRef) error {
return nil
}

// Get a dataset
// Get retrieves a dataset head (commit, structure, meta, etc) for a given reference, either
// from the local repo or by asking peers for it. The res parameter will be populated upon success.
func (r *DatasetRequests) Get(ref *repo.DatasetRef, res *repo.DatasetRef) error {
if r.cli != nil {
return r.cli.Call("DatasetRequests.Get", ref, res)
Expand Down

0 comments on commit 6108ddd

Please sign in to comment.