mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 10:26:35 +00:00
Remove unused fns detected by carve
This commit is contained in:
committed by
Tienson Qin
parent
6151ca9c09
commit
6e7730729d
@@ -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}]
|
||||
|
||||
Reference in New Issue
Block a user