Skip to content

Commit

Permalink
Adding TODOs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Burcu Dogan committed Jan 2, 2014
1 parent af027e6 commit 85b1824
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion remote/remote.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (r *Remote) FindByPath(p string) (file *types.File, err error) {
if p == "/" {
return r.FindById("root")
}
parts := strings.Split(p, "/")
parts := strings.Split(p, "/") // TODO: use path.Split instead
return r.findByPathRecv("root", parts[1:])
}

Expand All @@ -95,6 +95,7 @@ func (r *Remote) FindByParentId(parentId string) (files []*types.File, err error
// TODO: use field selectors
req.Q(fmt.Sprintf("'%s' in parents and trashed=false", parentId))
results, err := req.Do()
// TODO: handle paging
if err != nil {
return
}
Expand Down

0 comments on commit 85b1824

Please sign in to comment.