Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
haskell-gargantext
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Przemyslaw Kaminski
haskell-gargantext
Commits
18574440
Commit
18574440
authored
Aug 31, 2020
by
Alexandre Delanoë
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] repo.cbor
parent
edaf2b40
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
Settings.hs
src/Gargantext/API/Admin/Settings.hs
+2
-2
Search.hs
src/Gargantext/Database/Action/Search.hs
+0
-6
No files found.
src/Gargantext/API/Admin/Settings.hs
View file @
18574440
...
...
@@ -180,13 +180,13 @@ repoDir :: FilePath
repoDir
=
"repos"
repoSnapshot
::
FilePath
repoSnapshot
=
repoDir
<>
"/repo.
json
"
repoSnapshot
=
repoDir
<>
"/repo.
cbor
"
-- | TODO add hard coded file in Settings
-- This assumes we own the lock on repoSnapshot.
repoSaverAction
::
Serialise
a
=>
a
->
IO
()
repoSaverAction
a
=
do
withTempFile
"repos"
"tmp-repo.
json
"
$
\
fp
h
->
do
withTempFile
"repos"
"tmp-repo.
cbor
"
$
\
fp
h
->
do
printDebug
"repoSaverAction"
fp
L
.
hPut
h
$
serialise
a
hClose
h
...
...
src/Gargantext/Database/Action/Search.hs
View file @
18574440
...
...
@@ -152,12 +152,6 @@ selectGroup cId aId q = proc () -> do
returnA
-<
FacetPaired
a
b
c
d
queryContactViaDoc
::
O
.
Query
(
NodeSearchRead
,
(
NodeNodeReadNull
,
(
NodeNodeReadNull
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment