Skip to content

Add totalAllocatedSize to ContentStore#760

Merged
realrajaryan merged 1 commit into
apple:mainfrom
realrajaryan:raj/content-store-total-size
Jun 1, 2026
Merged

Add totalAllocatedSize to ContentStore#760
realrajaryan merged 1 commit into
apple:mainfrom
realrajaryan:raj/content-store-total-size

Conversation

@realrajaryan
Copy link
Copy Markdown
Member

This PR adds totalAllocatedSize() to the ContentStore protocol so it can be used to get the on-disk footprint without reaching past the abstraction. LocalContentStore implements it by walking its base path, covering both committed blobs and active ingest sessions.

@realrajaryan realrajaryan requested a review from jglogan June 1, 2026 20:30
@realrajaryan realrajaryan merged commit a2a1add into apple:main Jun 1, 2026
5 of 7 checks passed
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.

2 participants