There should be a method in libtocc::Manager that let's the user updates traditional_path of a file.
The signature should be as follows:
void set_traditional_path(const char* file_id, const char* traditional_path)
The method should check if the specified traditional path is duplicated (i.e. another file already have this traditional path). If it is so, it should throw an exception.
There should be a method in
libtocc::Managerthat let's the user updatestraditional_pathof a file.The signature should be as follows:
The method should check if the specified traditional path is duplicated (i.e. another file already have this traditional path). If it is so, it should throw an exception.