mirror of
https://github.com/wassname/ray.git
synced 2026-08-02 13:01:01 +08:00
Remove UT libraries and clean up remaining UT datastructures (#1230)
* Remove UT string include from redis * Remove UT string include from DB tests * Modify TaskSpec_print to remove UT string * Remove UT libraries
This commit is contained in:
committed by
Philipp Moritz
parent
ae4e1dd396
commit
e0360eb429
+4
-4
@@ -4,7 +4,8 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include "common.h"
|
||||
#include "utstring.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "format/common_generated.h"
|
||||
|
||||
@@ -360,10 +361,9 @@ ObjectID task_compute_put_id(TaskID task_id, int64_t put_index);
|
||||
* Print the task as a humanly readable string.
|
||||
*
|
||||
* @param spec The task_spec in question.
|
||||
* @param output The buffer to write the string to.
|
||||
* @return Void.
|
||||
* @return The humanly readable string.
|
||||
*/
|
||||
void TaskSpec_print(TaskSpec *spec, UT_string *output);
|
||||
std::string TaskSpec_print(TaskSpec *spec);
|
||||
|
||||
/**
|
||||
* Create a copy of the task spec. Must be freed with TaskSpec_free after use.
|
||||
|
||||
Reference in New Issue
Block a user