packages/content/lib/database.js
/**
   * Remove file from collection
   * @param {string} path - The path of the file.
   */
Remove file from collection
@param {string} path - The path of the file.
Remove file from collection @param { string } path - The path of the file .
async removeFile (path) {
    const normalizedPath = await this.normalizePath(path)
    const document = this.items.findOne({ path: normalizedPath })
    this.items.remove(document)
  }
async removeFile ( path ) { const normalizedPath = await this . normalizePath ( path ) const document = this . items . findOne ( { path : normalizedPath } ) this . items . remove ( document ) }
Remove file from collection
 @param {string} path - The path of the file.
Remove file from collection @param { string } path - The path of the file .