DMS are now locked when used by a command. Added checks and changed
cleaning mechanisms.
This commit is contained in:
@ -565,6 +565,21 @@ int obi_view_add_comment(Obiview_p view, const char* key, const char* value);
|
||||
int obi_save_and_close_view(Obiview_p view);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Goes through all the view files of a DMS and checks for views that have
|
||||
* not been flagged as finished (file extension renamed from '.obiview_unfinished'
|
||||
* to '.obiview' and finished boolean set to true in the file, done by finish_view()).
|
||||
*
|
||||
* @param dms A pointer on an OBIDMS.
|
||||
*
|
||||
* @returns A boolean indicating whether unfinished views were found.
|
||||
*
|
||||
* @since September 2019
|
||||
* @author Celine Mercier (celine.mercier@metabarcoding.org)
|
||||
*/
|
||||
int obi_dms_has_unfinished_views(OBIDMS_p dms);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Goes through all the view files of a DMS and deletes views that have
|
||||
* not been flagged as finished (file extension renamed from '.obiview_unfinished'
|
||||
|
Reference in New Issue
Block a user