From 802c67ace4071ce8122acac367d2107b3b0c8d73 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 14 Mar 2025 16:01:41 +0100 Subject: [PATCH] :fire: Remove unused API from tokens-lib Removes the protocol method: `get-set-prefixed-path-string` --- common/src/app/common/types/tokens_lib.cljc | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/common/src/app/common/types/tokens_lib.cljc b/common/src/app/common/types/tokens_lib.cljc index e572e9446d..4fa55c3ed6 100644 --- a/common/src/app/common/types/tokens_lib.cljc +++ b/common/src/app/common/types/tokens_lib.cljc @@ -327,8 +327,7 @@ (update-token [_ token-name f] "update a token in the list") (delete-token [_ token-name] "delete a token from the list") (get-token [_ token-name] "return token by token-name") - (get-tokens [_] "return an ordered sequence of all tokens in the set") - (get-set-prefixed-path-string [_] "convert set name to prefixed full path string")) + (get-tokens [_] "return an ordered sequence of all tokens in the set")) (defrecord TokenSet [name description modified-at tokens] ITokenSet @@ -372,11 +371,7 @@ (get tokens token-name)) (get-tokens [_] - (vals tokens)) - - (get-set-prefixed-path-string [_] - (-> (set-name->prefixed-full-path name) - (join-set-path)))) + (vals tokens))) (defn token-set? [o]