Retrieving repository total disk usage #6509
|
Is there a built-in way to retrieve the size of a repository + cache size on disk from the client? The repository is not on the same machine as the client, and I did find that I'd like to know:
|
Answered by
ThomasWaldmann
Mar 30, 2022
Replies: 1 comment 3 replies
|
IIRC, the overall repo disk usage (including all overheads, like e.g. for the repo index) is not available via the rpc interface. But, if you enable quotas for a repo, it will log the quota usage at INFO level at commit time (which does not include some overheads). |
3 replies
Answer selected by
WilliamDEdwards
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IIRC, the overall repo disk usage (including all overheads, like e.g. for the repo index) is not available via the rpc interface.
But, if you enable quotas for a repo, it will log the quota usage at INFO level at commit time (which does not include some overheads).