getFileLastAccessTime (method)

Retrieves the last access time of a vault item.


- (NSDate*)getFileLastAccessTime:(NSString*)fileName;
public func getFileLastAccessTime(_ fileName: String) throws -> Date


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 .

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 iOS Edition - Version 20.0 [Build 7986]