<commit_before>import {Component, provide, ViewContainerRef} from "@angular/core";
import {WorkspaceComponent} from "../components/workspace/workspace.component";
import {CodeEditorComponent} from "../components/code-editor/code-editor.component";
import {APP_CONFIG, CONFIG} from "../config/app.config";
import {ApiService} from "../services/api/api.service";
import {SocketService} from "../services/api/socket.service";
import {FileApi} from "../services/api/file.api";
import {FilePath} from "../services/api/api-response-types";
import {EditorSidebarComponent} from "../components/editor-sidebar/editor-sidebar.component";
import {ActionPanelComponent} from "../components/action-panel/action-panel.component";

require("./../../assets/sass/main.scss");
require("./main.component.scss");

@Component({
    selector: "cottontail",
    template: `
        <section class="editor-container">
            <editor-sidebar></editor-sidebar>
            <action-panel></action-panel>
            <workspace></workspace>
            
            <!--<code-editor [text]="text"></code-editor>-->
        </section>
    `,
    directives: [EditorSidebarComponent, WorkspaceComponent, CodeEditorComponent, ActionPanelComponent],
    providers: [provide(APP_CONFIG, {useValue: CONFIG}), ApiService, FileApi, SocketService]
})
export class MainComponent {

    constructor(private fileApi: FileApi) {
        //modal.defaultViewContainer = viewContainer;
    
        fileApi.getDirContent().subscribe((paths) => {
            console.log("1. Content is ");
        });
        fileApi.getDirContent().subscribe((content) => {
            console.log("2. Content is ", content);
        });
        fileApi.getDirContent().subscribe((content) => {
            console.log("3. Content is ", content);
        });

        setTimeout(function(){
            fileApi.getDirContent().subscribe((content) => {
                console.log("4. Content is ", content);
            });
            fileApi.getDirContent().subscribe((content) => {
                console.log("5. Content is ", content);
            });

        }, 5000)
    }
}
<commit_msg>Remove comment<commit_after>import {Component, provide, ViewContainerRef} from "@angular/core";
import {WorkspaceComponent} from "../components/workspace/workspace.component";
import {CodeEditorComponent} from "../components/code-editor/code-editor.component";
import {APP_CONFIG, CONFIG} from "../config/app.config";
import {ApiService} from "../services/api/api.service";
import {SocketService} from "../services/api/socket.service";
import {FileApi} from "../services/api/file.api";
import {FilePath} from "../services/api/api-response-types";
import {EditorSidebarComponent} from "../components/editor-sidebar/editor-sidebar.component";
import {ActionPanelComponent} from "../components/action-panel/action-panel.component";

require("./../../assets/sass/main.scss");
require("./main.component.scss");

@Component({
    selector: "cottontail",
    template: `
        <section class="editor-container">
            <editor-sidebar></editor-sidebar>
            <action-panel></action-panel>
            <workspace></workspace>
            
            <!--<code-editor [text]="text"></code-editor>-->
        </section>
    `,
    directives: [EditorSidebarComponent, WorkspaceComponent, CodeEditorComponent, ActionPanelComponent],
    providers: [provide(APP_CONFIG, {useValue: CONFIG}), ApiService, FileApi, SocketService]
})
export class MainComponent {

    constructor(private fileApi: FileApi) {
        fileApi.getDirContent().subscribe((paths) => {
            console.log("1. Content is ");
        });
        fileApi.getDirContent().subscribe((content) => {
            console.log("2. Content is ", content);
        });
        fileApi.getDirContent().subscribe((content) => {
            console.log("3. Content is ", content);
        });

        setTimeout(function(){
            fileApi.getDirContent().subscribe((content) => {
                console.log("4. Content is ", content);
            });
            fileApi.getDirContent().subscribe((content) => {
                console.log("5. Content is ", content);
            });

        }, 5000)
    }
}

{'fraction_non_alphanumeric': 0.16224538133585978, 'fraction_numerical': 0.004263382283278067, 'mean_word_length': 2.899353647276085, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 35, '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': '6935478', 'n_tokens_mistral': 1124, 'n_tokens_neox': 1109, 'n_words': 205}