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

Function RecFileExists

src/records/RecFile.cc:159–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157//-------------------------------------------------------------------------
158
159int
160RecFileExists(const char *file)
161{
162 RecHandle h_file;
163 if ((h_file = RecFileOpenR(file)) == REC_HANDLE_INVALID) {
164 return REC_ERR_FAIL;
165 }
166 RecFileClose(h_file);
167 return REC_ERR_OKAY;
168}

Callers 1

RecCoreInitFunction · 0.85

Calls 2

RecFileOpenRFunction · 0.85
RecFileCloseFunction · 0.85

Tested by

no test coverage detected