DefaultKitMigrationService

struct DefaultKitMigrationService

The DefaultKitMigrationService

  • The FileManager

    Declaration

    Swift

    let fileManager: FileManager
  • Designated Initializer

    Declaration

    Swift

    init(fileManager: FileManager = .default)

    Parameters

    fileManager

    The FileManager. Default value .default

  • Migrate Kit at Directory

    Throws

    If migration fails

    Declaration

    Swift

    func migrate(kit: Kit, at kitDirectory: Kit.Directory) throws

    Parameters

    kit

    The Kit

    kitDirectory

    The Kit Directory

  • Migrate Files in Kit Directory for Kit

    Declaration

    Swift

    func migrateFiles(in kitDirectory: Kit.Directory, for kit: Kit)

    Parameters

    kitDirectory

    The Kit directory

    kit

    The Kit