Updated on 2023-08-07 GMT+08:00

Managing the Recycle Bin

Repositories and components deleted from a self-hosted repo are moved to the recycle bin, where you can manage them.

  1. Access the self-hosted repo homepage.
  2. Click Recycle Bin.
  3. Delete or restore the repositories and components in the list as required.

    If the icons and are both displayed in the Operation column, the repository shown in the corresponding row has been deleted. Otherwise, the repository shown in the corresponding row has not been deleted but the components in it have been deleted. You can click the repository name to view the deleted components in the repository.

    Available operations are as follows:

    Operation Type

    Operation

    Description

    Restore

    Restore a repository

    Click in the Operation column to restore the repository.

    Restore a component

    Go to the repository where the component to restore is located, and click in the Operation column to restore the component.

    Batch restore components

    Go to the repository where the components to restore are located, select the components, and click Restore below the list to restore the components.

    Restore all

    Click Restore All in the upper right corner of the page to restore all repositories and components in the recycle bin.

    Delete

    Delete a repository

    Click in the Operation column to delete a repository.

    Delete a component

    Go to the repository where the component to delete is located, and click in the Operation column to delete the component.

    Delete components in batches

    Go to the repository where the components to delete are located, select the components, and click Clear below the list to delete the components.

    Clear recycle bin

    Click Clear All to delete all repositories and components in the recycle bin.

    If you choose to delete a repository or component in the recycle bin, it cannot be retrieved. Exercise caution when performing this operation.