isTemporaryCopy property

bool isTemporaryCopy
final

True when path is an app-owned temp copy the OS wrote for a promised file — a drag from a source that vends NSFilePromiseReceiver outputs rather than a concrete file URL (e.g. Photos), or, on Windows, a virtual file offered only as CFSTR_FILECONTENTS (an Outlook attachment, an image from a browser) — rather than a durable user-chosen location. Callers should treat such a source as ephemeral: promote its bytes into a managed cache after upload instead of recording the temp path in place (it is purged with the OS temp dir). False for plain file URLs. Mirrors XPickedFile.isTemporaryCopy.

Implementation

final bool isTemporaryCopy;