Skip to content

Extend file delete of local files to files which might have wrong location metadata #40

Description

@djarran

Description: Implement similar task as in Moodle's ObjectFS to reconcile files on disk

Issue: catalyst/moodle-tool_objectfs#588
PR: catalyst/moodle-tool_objectfs#724

As noted in the PR, this would:

  1. if the hash exists on disk, but not in the database then we should be safe to just delete the file
  2. if the hash exists on disk and in mdl_files but no in objectfs then we add it with the metadata as local

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions