CBFS Vault 2020 Python Edition

Questions / Feedback?

read_only Property

Whether the class should open a vault in read-only mode.

Syntax

def get_read_only() -> bool: ...
def set_read_only(value: bool) -> None: ...

read_only = property(get_read_only, set_read_only)

Default Value

FALSE

Remarks

This property specifies whether the class should open a vault in read-only mode. When a vault is open in read-only mode, the following restrictions apply:

  • No new vault items (files, directories, symbolic links, and alternate streams) may be created.
  • No existing vault items may be modified, renamed, moved, or deleted. (This includes updating access times.)
  • The vault cannot be resized or compacted (automatically or explicitly).
  • Vault corruption cannot be repaired using check_and_repair.
(Note that this list may not necessarily be exhaustive.)

Note: This property cannot be changed when active is True, and cannot be changed within events.

Copyright (c) 2022 Callback Technologies, Inc. - All rights reserved.
CBFS Vault 2020 Python Edition - Version 20.0 [Build 8145]