Views are now rollbacked if an error occurs, and unfinished views and
columns are deleted when an OBIDMS is opened.
This commit is contained in:
@@ -49,6 +49,25 @@ typedef struct OBIDMS_column_directory {
|
||||
} OBIDMS_column_directory_t, *OBIDMS_column_directory_p;
|
||||
|
||||
|
||||
/**
|
||||
* Function building the column directory name from an OBIDMS column name.
|
||||
*
|
||||
* The function builds the directory name corresponding to an OBIDMS column directory.
|
||||
* It checks also that the name is not too long.
|
||||
*
|
||||
* @warning The returned pointer has to be freed by the caller.
|
||||
*
|
||||
* @param column_name The name of the OBIDMS column.
|
||||
*
|
||||
* @returns A pointer to the OBIDMS column directory name.
|
||||
* @retval NULL if an error occurred.
|
||||
*
|
||||
* @since June 2015
|
||||
* @author Celine Mercier (celine.mercier@metabarcoding.org)
|
||||
*/
|
||||
char* obi_build_column_directory_name(const char* column_name);
|
||||
|
||||
|
||||
/**
|
||||
* @brief Checks if an OBIDMS column directory exists.
|
||||
*
|
||||
|
Reference in New Issue
Block a user