Files
ragflow/internal/service
Hz_ ac5d0c4615 fix(go-file): KB counter drift when deleting files with linked documents (#16584)
## Summary

Use `DocumentService.RemoveDocumentKeepFile` when deleting files that
are linked to documents.

  ## Change

  - inject `DocumentService` into `FileService`
  - replace direct document deletion in `deleteSingleFile`
  - remove the obsolete file-local engine deletion helper

  ## Result

Deleting a file now cleans up linked documents through the same service
path used elsewhere, keeping KB counters and document engine cleanup
consistent.
2026-07-03 14:07:54 +08:00
..
2026-07-02 09:45:01 +08:00
2026-07-02 20:20:11 +08:00
2026-06-24 16:50:40 +08:00
2026-07-02 09:45:01 +08:00
2026-06-26 13:51:56 +08:00