chore: clean up namespace, eliminate refer-macro

This commit is contained in:
Weihua Lu
2021-06-18 12:54:33 +08:00
committed by Tienson Qin
parent cb59e9d0ce
commit 204541abda
34 changed files with 192 additions and 217 deletions

View File

@@ -1,28 +1,28 @@
(ns frontend.handler.file
(:refer-clojure :exclude [load-file])
(:require [frontend.util :as util :refer-macros [profile]]
(:require ["/frontend/utils" :as utils]
[borkdude.rewrite-edn :as rewrite]
[cljs-bean.core :as bean]
[cljs-time.coerce :as tc]
[cljs-time.core :as t]
[cljs.core.async.interop :refer [<p!]]
[clojure.core.async :as async]
[clojure.string :as string]
[frontend.config :as config]
[frontend.db :as db]
[frontend.format :as format]
[frontend.fs :as fs]
[frontend.fs.nfs :as nfs]
[promesa.core :as p]
[frontend.state :as state]
[frontend.db :as db]
[frontend.git :as git]
[frontend.handler.common :as common-handler]
[frontend.handler.extract :as extract-handler]
[frontend.handler.ui :as ui-handler]
[frontend.handler.route :as route-handler]
[cljs-bean.core :as bean]
[frontend.config :as config]
[frontend.format :as format]
[clojure.string :as string]
[lambdaisland.glogi :as log]
[clojure.core.async :as async]
[cljs.core.async.interop :refer-macros [<p!]]
[cljs-time.core :as t]
[cljs-time.coerce :as tc]
[frontend.handler.ui :as ui-handler]
[frontend.state :as state]
[frontend.utf8 :as utf8]
[borkdude.rewrite-edn :as rewrite]
["/frontend/utils" :as utils]))
[frontend.util :as util]
[lambdaisland.glogi :as log]
[promesa.core :as p]))
;; TODO: extract all git ops using a channel