PossibleSize Property

The maximum size the vault could possibly be.

Syntax

func (obj *CBDrive) PossibleSize() (int64, error)

Default Value

0

Remarks

This property reflects the maximum size, in bytes, that the vault could possibly be. That is, the size that the vault would be if it automatically grew as much as possible right now, without any additional data being written to it. Therefore:

In the former case, parent_free_space is the amount of free space available for the vault to use for automatic growth. For a file-based vault, this is the total amount of free space on the disk where the vault's storage file (i.e., VaultFile) resides, as reported by the OS. For a Callback Mode vault, this is whatever value the application provides via the VaultGetParentSize event.

Please refer to the Vault Size topic for more information.

This property is read-only.

Data Type

int64

Copyright (c) 2021 Callback Technologies, Inc. - All rights reserved.
CBFS Storage 2020 Go Edition - Version 20.0 [Build 8031]