fileExists (method)

Checks whether a vault item exists.

Syntax

- (BOOL)fileExists:(NSString*)fileName;
public func fileExists(_ fileName: String) throws -> Bool

Remarks

This method checks whether a vault item (file, directory, symbolic link, or alternate stream) with the specified FileName exists in the vault. If the specified vault item exists, this method returns true; otherwise it returns false.

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