MCPcopy Create free account
hub / github.com/ByConity/ByConity / tryReadEntityFile

Function tryReadEntityFile

src/Access/DiskAccessStorage.cpp:202–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201
202 AccessEntityPtr tryReadEntityFile(const String & file_path, Poco::Logger & log)
203 {
204 try
205 {
206 return readEntityFile(file_path);
207 }
208 catch (...)
209 {
210 tryLogCurrentException(&log, "Could not parse " + file_path);
211 return nullptr;
212 }
213 }
214
215
216 /// Writes ATTACH queries for building a specified access entity to a file.

Callers 1

rebuildListsMethod · 0.85

Calls 2

readEntityFileFunction · 0.85
tryLogCurrentExceptionFunction · 0.85

Tested by

no test coverage detected