removeDirectory (method)
Remove the specified directory.
Syntax
- (void)removeDirectory:(NSString*)dirName;
public func removeDirectory(_ dirName: String) throws -> Void
Remarks
This method removes the directory specified by the DirName parameter. DirName may be either an absolute path, or a path relative to RemotePath.
Note: The directory and all of its contents will be deleted when calling this method. (With the exception of non-root-level directories for the spAzureFile (11) ServiceProvider; such directories can only be deleted if they are empty.)