@nextcloud/dialogs
    Preparing search index...

    Function openConflictPicker

    SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors SPDX-License-Identifier: AGPL-3.0-or-later

    • Open the conflict resolver for uploading nodes. Given the current content of the directory and the conflicting new nodes, this will ask the user for resolving the conflicts and return the conflict resolution.

      Type Parameters

      Parameters

      • dirname: undefined | string

        The directory name with conflicts (used for the dialog title)

      • conflicts: T[]

        The incoming nodes

      • content: INode[]

        The current content of the directory (existing nodes)

      • Optionaloptions: ConflictPickerOptions

        Optional settings for the conflict picker

      Returns Promise<null | ConflictResolutionResult<T>>

      The conflict resolution or null if the user aborted.