hunk.code_window: 	}
   	if ps.exportFilestore == nil {
   		ps.exportFilestore = ps.filestore
   		if *ps.Config().FileSettings.DedicatedExportStore {
   			backend, errFileBack := filestore.NewFileBackend(filestore.NewExportFileBackendSettingsFromConfig(&ps.Config().FileSettings, license != nil && *license.Features.Compliance, false))
   			if errFileBack != nil {
   				return nil, fmt.Errorf("failed to initialize export filebackend: %w", errFileBack)
   			}
   			ps.exportFilestore = backend
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: 			mlog.Info("Setting up dedicated export filestore", mlog.String("driver_name", *ps.Config().FileSettings.ExportDriverName))
   			backend, errFileBack := filestore.NewExportFileBackend(filestore.NewExportFileBackendSettingsFromConfig(&ps.Config().FileSettings, license != nil && *license.Features.Compliance, false))
  
hunk.file_path: server/channels/app/platform/service.go
hunk.type: replace
file: // Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
  // See LICENSE.txt for license information.
  
  import {ChannelCategoryType} from '@mattermost/types/channel_categories';
  
  export const CategoryTypes: {[name: string]: ChannelCategoryType} = {
      FAVORITES: 'favorites',
      CHANNELS: 'channels',
      DIRECT_MESSAGES: 'direct_messages',
      CUSTOM: 'custom',
  };
  