FileMetadataOperation
public enum FileMetadataOperation
Operations on a file metadata
-
Adds new metadata path/value pair
Declaration
Swift
case add(path: String, value: String)
-
Replaces metadata for path with a new value
Declaration
Swift
case replace(path: String, value: String)
-
Tests expected metadata value for given path
Declaration
Swift
case test(path: String, value: String)
-
Removes metadata for given path
Declaration
Swift
case remove(path: String)
-
Moves metadata from original path to new path
Declaration
Swift
case move(from: String, path: String)
-
Copies metadata from original path to new path
Declaration
Swift
case copy(from: String, path: String)
-
Creates JSON dictionary representation of an operation option.
Declaration
Swift
public func json() -> [String : Any]
Return Value
JSON dictionary representation of an operation option.