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

[27] Add command to list orphan objects #51612

Draft
wants to merge 1 commit into
base: stable27
Choose a base branch
from

Conversation

icewind1991
Copy link
Member

#51603 squashed and backported

];
}

public function listObjects(string $prefix = ''): \Iterator {

Check failure

Code scanning / Psalm

InvalidReturnType Error

The declared return type 'Iterator<mixed, array{metadata: array{etag?: string, filename?: string, mimetype?: string, mtime?: DateTime, size?: int}|null, urn: string}>' for OC\Files\ObjectStore\S3::listObjects is incorrect, got 'Generator<int, array{metadata: array{etag: string, mtime: mixed, size: int}, urn: string}, mixed, void>'
feat: add command to list objects

feat: add command to list orphan objects

Signed-off-by: Robin Appelman <[email protected]>
@icewind1991 icewind1991 force-pushed the backport/object-store-orphan/27 branch from 6b118af to e21e119 Compare March 20, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant