Checks whether a directory is empty.
bool IsDirectoryEmpty(const QString& qsDirectory);
This method checks whether the directory specified by Directory is empty (i.e., does not contain any files, subdirectories, or symbolic links). If the specified directory is empty, this method returns true; otherwise it returns false.
The value passed for Directory must be a vault-local absolute path.
Note: This method can only be called when Active is true.
This method returns a Boolean value; after it returns, call the GetLastErrorCode() method to obtain its result code; 0 indicates success, while a non-zero error code indicates that this method encountered an error during its execution. If an error occurs, the GetLastError() method can be called to retrieve the associated error message.