More callback refactoring #713

Merged
lhchavez merged 2 commits from more-callback-refactoring into master 2020-12-10 09:19:41 -06:00
lhchavez commented 2020-12-09 21:43:55 -06:00 (Migrated from github.com)

This change:

  • Gets rid of the .toC() functions for Options objects, since they
    were redundant with the populateXxxOptions().
  • Adds support for errorTarget to the RemoteOptions, since they are
    used in the same stack for some functions (like Fetch()). Now for
    those cases, the error returned by the callback will be preserved
    as-is.
This change: * Gets rid of the `.toC()` functions for Options objects, since they were redundant with the `populateXxxOptions()`. * Adds support for `errorTarget` to the `RemoteOptions`, since they are used in the same stack for some functions (like `Fetch()`). Now for those cases, the error returned by the callback will be preserved as-is.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: jcarr/git2go#713
No description provided.