Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Clear cache filesystem when emptying the store cache#477

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
js2702 wants to merge2 commits intoBaseflow:develop
base:develop
Choose a base branch
Loading
fromSkillDevs:empty_fs

Conversation

@js2702
Copy link

✨ What kind of change does this PR introduce? (Bug fix, feature, docs update...)

Bug fix

⤵️ What is the current behavior?

When there is a desync between the filesystem and the store those files are never cleaned up, filling up the filesystem. This desync can happen because of bugs in the library like the ones listed in#476.

🆕 What is the new behavior (if this is a feature change)?

When callingemptyCache we can also clean up the cache directory associated to the store to clean up dangling files as well.

💥 Does this PR introduce a breaking change?

It adds a method to the file system interface.

🐛 Recommendations for testing

Previously files were not deleted when callingremoveFile(), so it only affects extra dangling files in the cache store.
So to test it just add an extra file and call emptyCache.�The current emptyCache test has been tweaked to account for this behavior.

🤔 Checklist before submitting

  • All projects build
  • Follows style guide lines (code style guide)
  • Relevant documentation was updated
  • Rebased onto current develop

everyonelovesyou reacted with thumbs up emoji
@cedvdb
Copy link

@renefloor could you review this ? Can you consider adding additional maintainers ?

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@js2702@cedvdb

[8]ページ先頭

©2009-2025 Movatter.jp