Skip to content

Add some way to clear cache without remounting #6

Description

@JuniorJPDJ

First thing that came up to my mind was to open some invisible virtual file in main directory.
eg. echo "" > ./.clean_ziprofs_cache
Of course .clean_cache wouldn't be listed in readdir() call

At the moment when I remount underlying filesystem (which was pretty often bcs of bugs in it) I need to remount also ZipROFS and restart all software which was using it.
Some workaroundish way to clean cache and reopen existing handles would be helpful.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions