Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daemon.jsonrpc_file_delete: new --what parameter to control what to delete #3430

Closed
wants to merge 1 commit into from

Commits on Sep 19, 2021

  1. Daemon.jsonrpc_file_delete: new --what parameter to control what to…

    … delete
    
    The `--what` parameter can be used to specify what to delete:
    the media file only, the blobs only, or both, deleting completely
    the downloaded stream.
    ```
    lbrynet file delete --claim_name=my-claim --what=file
    lbrynet file delete --claim_name=my-claim --what=blobs
    lbrynet file delete --claim_name=my-claim --what=both
    ```
    
    If no argument is used, this is equivalent to `--what=blobs`.
    ```
    lbrynet file delete --claim_name=my-claim
    ```
    
    The old argument, `--delete_from_download_dir`, works as `--what=both`.
    ```
    lbrynet file delete --claim_name=my-claim --delete_from_download_dir
    lbrynet file delete --claim_name=my-claim --what=both
    ```
    belikor committed Sep 19, 2021
    Configuration menu
    Copy the full SHA
    3804b11 View commit details
    Browse the repository at this point in the history