CBFS Vault 2020 Python Edition

Questions / Feedback?

set_file_creation_time Method

Sets the creation time of a vault item.


def set_file_creation_time(file_name: str, creation_time: datetime.datetime) -> None: ...


This method sets the creation time of the vault item (file, directory, symbolic link, or alternate stream) specified by FileName.

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

The CreationTime parameter specifies the new creation time for the vault item, which must be specified in UTC.

Note: This method can only be called when active is True, and cannot be called within events.

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