<commit_before>FileFrame = require "./file-frame"
FileList = require './file-list'
FileSelectionBar = require './file-selection-bar'
{ComponentRegistry,
 WorkspaceStore} = require 'nylas-exports'

module.exports =

  activate: (@state={}) ->
    WorkspaceStore.defineSheet 'Files', {root: true, supportedModes: ['list'], name: 'Files'},
      list: ['RootSidebar', 'FileList']

    WorkspaceStore.defineSheet 'File', {supportedModes: ['list']},
      list: ['File']

    ComponentRegistry.register FileList,
      location: WorkspaceStore.Location.FileList

    ComponentRegistry.register FileSelectionBar,
      location: WorkspaceStore.Location.FileList.Toolbar

    ComponentRegistry.register FileFrame,
      location: WorkspaceStore.Location.File

  deactivate: ->
    ComponentRegistry.unregister(FileList)
    ComponentRegistry.unregister(FileSelectionBar)
    ComponentRegistry.unregister(FileFrame)
    WorkspaceStore.undefineSheet('Files')
    WorkspaceStore.undefineSheet('File')
<commit_msg>punt(files): Temporarily disable the files package<commit_after>FileFrame = require "./file-frame"
FileList = require './file-list'
FileSelectionBar = require './file-selection-bar'
{ComponentRegistry,
 WorkspaceStore} = require 'nylas-exports'

module.exports =

  activate: (@state={}) ->
    # WorkspaceStore.defineSheet 'Files', {root: true, supportedModes: ['list'], name: 'Files'},
    #   list: ['RootSidebar', 'FileList']
    #
    # WorkspaceStore.defineSheet 'File', {supportedModes: ['list']},
    #   list: ['File']
    #
    # ComponentRegistry.register FileList,
    #   location: WorkspaceStore.Location.FileList
    #
    # ComponentRegistry.register FileSelectionBar,
    #   location: WorkspaceStore.Location.FileList.Toolbar
    #
    # ComponentRegistry.register FileFrame,
    #   location: WorkspaceStore.Location.File

  deactivate: ->
    # ComponentRegistry.unregister(FileList)
    # ComponentRegistry.unregister(FileSelectionBar)
    # ComponentRegistry.unregister(FileFrame)
    # WorkspaceStore.undefineSheet('Files')
    # WorkspaceStore.undefineSheet('File')

{'fraction_non_alphanumeric': 0.126134734830387, 'fraction_numerical': 0.0, 'mean_word_length': 4.525065963060686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1775988', 'n_tokens_mistral': 588, 'n_tokens_neox': 589, 'n_words': 107}