MCPcopy Create free account
hub / github.com/apache/trafficserver / rename

Method rename

src/proxy/logging/LogObject.cc:252–262  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252void
253LogObject::rename(char *new_name)
254{
255 // NOTE: this function is intended to be called by the LogObjectManager
256 // while solving filename conflicts. It DOES NOT modify the signature of
257 // the LogObject to match the new filename.
258 //
259 ats_free(m_alt_filename);
260 m_alt_filename = ats_strdup(new_name);
261 m_logFile->change_name(new_name);
262}
263
264void
265LogObject::add_filter(LogFilter *filter, bool copy)

Callers 1

Calls 2

ats_freeFunction · 0.85
change_nameMethod · 0.45

Tested by

no test coverage detected