setFileModificationTime (method)

Sets the modification time of a vault item.

Syntax

- (void)setFileModificationTime:(NSString*)fileName :(NSDate*)modificationTime;
public func setFileModificationTime(_ fileName: String, _ modificationTime: Date) throws -> Void

Remarks

This method sets the modification 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 ModificationTime parameter specifies the new modification time for the vault item, which must be specified .

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 Storage 2020 iOS Edition - Version 20.0 [Build 8031]