hectorqin / hectorqin/reader

删除书籍后,assets目录下的export与cover未删除

Open
#618 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
11k
Forks
5.5k
PR merge metrics
No merged PRs in 30d

Description

点击导入书籍,上传txt格式的书,设置了封面,然后导出epub,之后删除这本书,发现assets/用户/export 里面曾经导出过的epub文件还残留, assets/用户/cover里面曾经上传的封面图片还在,书多了以后,这些残留资源该如何清理?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the book-deletion entry point and trace how it relates to the assets/用户/export and assets/用户/cover directories. Reproduce the import, cover upload, EPUB export, and deletion sequence, then verify that the related EPUB and cover files no longer remain.

Written by the indexing model from the issue text.

Assessment

Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.