Skip to content

Method to delete local cache #153

Closed
Closed

Description

@jayqi

If you're processing a lot of data in a loop and want to reclaim disk space after you're done with one path, then it could be helpful to have a way to delete the locally cached file. I don't think this should cause any problems because other methods that use the cache will check if it exists and download.

Currently, one can do this with cloud_path._local.unlink() but it would be better to have a method in the public API for this.

Activity

  1. added
    enhancement
    on Jul 21, 2021
  2. pjbull commented on Dec 19, 2022

    @pjbull
    Member

    Consolidated to #10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions