MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / reset

Method reset

tools/comdb2ar/file_info.cpp:88–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86}
87
88void FileInfo::reset()
89// Reset this to an empty object
90{
91 m_type = UNKNOWN_FILE_TYPE;
92 m_filepath.clear();
93 m_filename.clear();
94 m_checksums = false;
95 m_sparse = false;
96 m_pagesize = 0;
97 m_swapped = false;
98}
99
100const char *FileInfo::get_type_string() const
101// Return a string constant which represents the type of this file

Callers 14

mainFunction · 0.45
process_manifestFunction · 0.45
process_incr_manifestFunction · 0.45
RepopNewLrl_implMethod · 0.45
RepopNewLrlMethod · 0.45
testOfflineNodeDelayMethod · 0.45
testNoDefaultMethod · 0.45
testDNSDownMethod · 0.45
testPmuxDownMethod · 0.45
testComdb2dbNodeDownMethod · 0.45
testMalformedComdb2dbMethod · 0.45

Calls 1

clearMethod · 0.80

Tested by 9

testOfflineNodeDelayMethod · 0.36
testNoDefaultMethod · 0.36
testDNSDownMethod · 0.36
testPmuxDownMethod · 0.36
testComdb2dbNodeDownMethod · 0.36
testMalformedComdb2dbMethod · 0.36
testDbDownMethod · 0.36
testUnregisteredDbMethod · 0.36