CBFS Storage 2020 Node.js Edition

Questions / Feedback?

Vaults

What is a Vault?

The key functionality CBFS Storage provides is the ability to create and store an entire filesystem (complete with files, directories, metadata, and much more) in a standalone container called a vault.

A vault is typically stored as a real file on a local disk (similar to, e.g., an SQLite database file), but applications can technically store it using any data location by using Callback Mode.

Internally, a vault's storage space is divided up into chunks of equal size called pages. A vault's page size is specified at creation-time, and cannot be changed later. Applications do not have direct access to vault pages, but awareness of their existence is helpful for understanding certain class APIs.

Vaults can be created and accessed using both the CBVault and CBDrive classes; but only the latter allows a vault to be mounted as a virtual drive. Please refer to the other topics in this section for more information about vaults:

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