* Add functions for OneDrive purge function is setup to return and take purgable instead of just userID, itemID for deleter. * Adjust other functions to take purgable Adjust interface for deleter so that it allows more information to the delete function. The called function can cast the purgable it was passed back to the type that was returned by the getter function. * Move struct definition Per reviewer comment move struct definition to OneDrive package instead of leaving in purge command. * Fix lint error Likely slipped through while GitHub actions was having issues.
SRC Directory
/pkg
API and Components which are exposed for external usage.
-
/pkg/repository
Control layer for coordinating connections and communication with storage provider repositories. -
/pkg/storage
Manages compilation and validation of repository configuration and consts. Both those that are specific to storage providers, and those that are provider-agnostic.
/cli
Command Line Interface controller. Utilizes /pkg/repository as an exernal dependency.
/internal
Packages which are only intended for use within Corso.