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

feat(plugins): add /cache folder #3787

Merged
merged 2 commits into from
Nov 18, 2024
Merged

feat(plugins): add /cache folder #3787

merged 2 commits into from
Nov 18, 2024

Conversation

imsnif
Copy link
Member

@imsnif imsnif commented Nov 18, 2024

This adds a /cache folder accessible to plugins. This folder is similar to the /data folder, except Zellij will not delete it when the plugin is unloaded.

Another difference to the /data folder is that this folder is shared between all instances of the plugin loaded with the same URL (either remote or local).

This folder is also particular to the current version of Zellij - meaning that the same plugin loaded in a newer version will have a clean /cache folder.

Like all of the Zellij cache, this folder can be explicitly deleted by users (eg. to save disk space). It's located inside the Zellij cache folder (whose path can be seen in zellij setup --check).

@imsnif imsnif merged commit 9230733 into main Nov 18, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant