<commit_before>const mongoose = require('mongoose')
const Schema = mongoose.Schema
const tree = require('mongoose-path-tree')

const folderSchema = new Schema({
  name: {
    type: String,
    required: true
  },
  description: String
})

folderSchema.methods.getPath = getPath
folderSchema.plugin(tree)

const Folder = mongoose.model('Folder', folderSchema)

module.exports = Folder

function getPath () {
  // this === folder I am -> Populate all the way? Will I have it populated already?
  // Do tests. Do navigate in tree for admin in FE, can test this better when I Will
  // be able to create trees.
}<commit_msg>removed unused function<commit_after>const mongoose = require('mongoose')
const Schema = mongoose.Schema
const tree = require('mongoose-path-tree')

const folderSchema = new Schema({
  name: {
    type: String,
    required: true
  },
  description: String
})

folderSchema.plugin(tree)

const Folder = mongoose.model('Folder', folderSchema)

module.exports = Folder
{'fraction_non_alphanumeric': 0.10851926977687627, 'fraction_numerical': 0.0, 'mean_word_length': 4.25, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6619192', 'n_tokens_mistral': 289, 'n_tokens_neox': 297, 'n_words': 96}