CBFS Vault 2020 Python Edition

Questions / Feedback?

file_exists Method

Checks whether a vault item exists.

Syntax

def file_exists(file_name: str) -> bool: ...

Remarks

This method checks whether a vault item (file, directory, symbolic link, or alternate stream) with the specified FileName exists in the vault. If the specified vault item exists, this method returns True; otherwise it returns False.

The value passed for FileName must be a vault-local absolute path.

Note: This method can only be called when active is True.

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