cadrumo.application.bucket_maintenance._deletion_paths module¶
Deletion-path validation for the bucket-maintenance service.
Used by: BucketMaintenanceService
to resolve the deletion paths of a real, non-link bucket root before any
manifest read or destructive assessment.
The check runs before manifest reads so a symlink or Windows junction cannot redirect assessment into storage outside the configured bucket directory.
- validated_bucket_deletion_paths(*, root, bucket_id, storage)[source]¶
Return deletion paths only for a real, non-link bucket root.
- Return type:
- Parameters:
root (Path)
bucket_id (str)
storage (ProfileBucketStoragePort)