CBFS Connect 2020 Python Edition

Questions / Feedback?

non_existent_files_cache_enabled Property

Whether the nonexistent files cache should be used.


def get_non_existent_files_cache_enabled() -> bool: ...
def set_non_existent_files_cache_enabled(value: bool) -> None: ...

non_existent_files_cache_enabled = property(get_non_existent_files_cache_enabled, set_non_existent_files_cache_enabled)

Default Value



This property controls whether the nonexistent files cache is enabled for a virtual drive. The size of the nonexistent files cache can be controlled using the non_existent_files_cache_size property.

When enabled, the class will cache any on_get_file_info responses that indicate that the requested file does not exist. If another request is later made for the same file, the class will use this information to automatically report a "file not found" error rather than firing the on_get_file_info event again.

Please refer to the Caching topic for more information.

Note: This property cannot be changed within events.

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