Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSFileVersionMBS class.

NSFileVersionMBS.NSFileVersionAddingByMoving = 1

Type Topic Plugin Version
const iCloud MBS MacCloud Plugin 11.2
One of the constants for addVersionOfItemAtURL.

Whether addVersionOfItemAtURL can move the new version contents file into the version store instead of copying it. Moving is much faster. See the comment for temporaryDirectoryURLForNewVersionOfItemAtURL for an example of when this useful.

NSFileVersionMBS.NSFileVersionReplacingByMoving = 1

Type Topic Plugin Version
const iCloud MBS MacCloud Plugin 11.2
One of the constants for replaceItemAtURL.

Whether replaceItemAtURL must move the version's contents out of the version store instead of copying it. This is useful when you want to promote a version's contents to a separate file. You wouldn't use this to restore a version of a file.

The items on this page are in the following plugins: MBS MacCloud Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...