Skip to content

Conversation

jgalan
Copy link
Member

@jgalan jgalan commented May 17, 2023

jgalan Ok: 71

This is not used right now, but I found it might be potentially used, so it is perhaps good to have it in the list of TRestTools methods.

@jgalan jgalan force-pushed the jgalan_tools_gzip branch from d3bc677 to 5b99706 Compare May 17, 2023 08:11
@jgalan jgalan requested review from juanangp and lobis May 31, 2023 10:29
@jgalan jgalan requested a review from a team November 29, 2023 10:35
static std::string POSTRequest(const std::string& url, const std::map<std::string, std::string>& keys);
static void ChangeDirectory(const std::string& toDirectory);

static bool GzipInflate(const std::string& compressedBytes, std::string& uncompressedBytes);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should avoid passing mutable references and instead use the method's return. One strong reason to avoid doing so is that these functions are much more difficult to call from the python bindings (it's possible but much more complicated as just passing python objects as strings and so on).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants