-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import/export: clean up, add test #1418
base: gwdb-versioned2
Are you sure you want to change the base?
Conversation
Add test for multiline NOTE, Original author is hgouraud
To re-import wiki notes and link them correctly we need file name information
let () = Gwdb.load_couples_array base in | ||
let () = Gwdb.load_unions_array base in | ||
let () = Gwdb.load_descends_array base in | ||
()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not using ;
?
let read_file_content filename = | ||
let ic = Secure.open_in filename in | ||
let s = input_file_ic ic in | ||
close_in ic; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should use Fun.protect
:-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:-)
note that I added royal92.ged for tests but maybe we can use a smaller one