Represents a quota that filesystems adhere to when handling write operations.
Type: Reference type
Declaration | Description |
---|---|
size_t GetTotalSize() const | Gets the total size, in bytes, that is allowed to be used by filesystems using this quota object. |
size_t GetSizeInUse() const | Gets the size, in bytes, that is in use. |
size_t GetSizeLeft() const | Gets the amount of size, in bytes, left that can be written to. |
bool CanWriteAmount(size_t uiSizeInBytes) const | Returns whether the given amount of bytes can be written. |
size_t SizeLeftAfterWrite(size_t uiSizeInBytes) const | Returns the size that is left after the given amount of bytes have been written. |