GetFileLastAccessTime Method

Retrieves the last access time of a vault item.

Syntax

func (obj *CBVault) GetFileLastAccessTime(FileName string) (time.Time, error)

Remarks

This method retrieves the creation time of the vault item (file, directory, symbolic link, or alternate stream) specified by FileName. The timestamps returned by this method are specified in UTC.

Note that vault items' last access times are only updated if the UseAccessTime property is enabled.

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 Go Edition - Version 20.0 [Build 7982]