DuplicationBehavior : string

Enumeration for DuplicationBehavior

Table of Contents

Cases

CANCEL  = 'cancel'
If a file is uploaded and another file with the same name already exists, the process is aborted.
RENAME  = 'rename'
If a file is uploaded and another file with the same name already exists, the new file is renamed.
REPLACE  = 'replace'
If a file is uploaded and another file with the same name already exists, the old file gets overwritten by the new file.

Methods

getDefaultDuplicationBehaviour()  : DuplicationBehavior
Return the default duplication behaviour action, set in TSconfig

Cases

RENAME

If a file is uploaded and another file with the same name already exists, the new file is renamed.

REPLACE

If a file is uploaded and another file with the same name already exists, the old file gets overwritten by the new file.

CANCEL

If a file is uploaded and another file with the same name already exists, the process is aborted.

Methods


        
On this page

Search results