Remove unused fns detected by carve

This commit is contained in:
Gabriel Horner
2022-02-08 10:11:49 -05:00
committed by Tienson Qin
parent 6151ca9c09
commit 6e7730729d
4 changed files with 0 additions and 23 deletions

View File

@@ -1,5 +1,4 @@
(ns frontend.search.db
(:refer-clojure :exclude [empty?])
(:require [cljs-bean.core :as bean]
[clojure.string :as string]
[frontend.db :as db]
@@ -9,10 +8,6 @@
(defonce indices (atom nil))
(defn empty?
[repo]
(nil? (get @indices repo)))
(defn block->index
"Convert a block to the index for searching"
[{:block/keys [uuid page content] :as block}]