better func names to differentiate between 2 types of graphs

- local file based
- db based (sqlite for now)
This commit is contained in:
rcmerci
2023-06-14 13:03:08 +08:00
parent 41aea60d94
commit d38afc9b71
18 changed files with 40 additions and 40 deletions

View File

@@ -119,7 +119,7 @@
{:value (text-util/get-graph-name-from-path
;; TODO: Use helper when a common one is refactored
;; from components.repo
(if (config/local-db? url)
(if (config/local-file-based-graph? url)
(config/get-local-dir url)
(db/get-repo-path url)))
:id (config/get-repo-dir url)
@@ -142,7 +142,7 @@
{:value (text-util/get-graph-name-from-path
;; TODO: Use helper when a common one is refactored
;; from components.repo
(if (config/local-db? url)
(if (config/local-file-based-graph? url)
(config/get-local-dir url)
(db/get-repo-path url)))
:id (config/get-repo-dir url)