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(torrent): add helper to detect missing files #11

Merged
merged 4 commits into from
Feb 6, 2025

Conversation

s0up4200
Copy link
Contributor

Changes

  • Added HasMissingFiles() helper function to detect torrents with missing files on disk

Why

This feature helps identify torrents where the files have been deleted or moved without the torrent client's knowledge. This is particularly useful for:

  • Detecting accidental file deletions
  • Finding torrents that need rechecking
  • Cleanup of torrents where data is no longer available

Example Usage

Add to your config.yaml:

tag:
  - name: missing-files
    mode: full
    update:
      - HasMissingFiles()

@s0up4200 s0up4200 merged commit 326e158 into main Feb 6, 2025
2 checks passed
@s0up4200 s0up4200 deleted the feature/missing-files-helper branch February 6, 2025 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants