Skip to content

craft-hub / applyProfileMigration

Function: applyProfileMigration() ​

applyProfileMigration(input, revision, assertHostsStopped, onPhase?): Promise<ProfileMigrationReceipt>

Defined in: packages/craft-hub/src/profile-migration.ts:350

Copy a reviewed profile without modifying its source. The caller must also check older, non-cooperating hosts.

Parameters ​

input ​

ProfileMigrationPaths

revision ​

string

assertHostsStopped ​

() => Promise<void>

onPhase? ​

(phase) => Promise<void>

Returns ​

Promise<ProfileMigrationReceipt>

Released under the MIT License.