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

Function RecFileGetSize

src/records/RecFile.cc:147–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145//-------------------------------------------------------------------------
146
147int
148RecFileGetSize(RecHandle h_file)
149{
150 struct stat fileStats;
151 fstat(h_file, &fileStats);
152 return static_cast<int>(fileStats.st_size);
153}
154
155//-------------------------------------------------------------------------
156// RecFileExists

Callers 1

RecFileImport_XmallocFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected