-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Description
The Git and OCI clients have their own methods that run before actually performing a fetch operation (named cloneRepo and createRepository respectively). For consistency between clients, and similar to the PreparePush method for the Push operation, we should implement a PrepareFetch method with the following signature:
PrepareFetch(url *netutil.URL, auth *netutil.BasicAuth, opts *options.Options) error
Consequently, the top level Fetch function must be updated to call PrepareFetch before it calls the specialized client's Fetch method.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done