From d509b840dcf8f82a2bd6197d712c3813c29fa2fc Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 9 Apr 2025 14:43:35 +0200 Subject: [PATCH] :fire: Remove unused get-commands fn --- common/src/app/common/types/path/segment.cljc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/src/app/common/types/path/segment.cljc b/common/src/app/common/types/path/segment.cljc index b9c6f7c28..f5e082459 100644 --- a/common/src/app/common/types/path/segment.cljc +++ b/common/src/app/common/types/path/segment.cljc @@ -96,12 +96,6 @@ :else nil))) -(defn get-commands - "Returns the commands involving a point with its indices" - [content point] - (->> (d/enumerate content) - (filterv (fn [[_ segment]] (= (helpers/segment->point segment) point))))) - (defn get-handler-point "Given a segment index and prefix, get a handler point" [content index prefix]