MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / handleFileViaFunction

Function handleFileViaFunction

src/binder/bind/bind_file_scan.cpp:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114bool handleFileViaFunction(main::ClientContext* context, std::vector<std::string> filePaths) {
115 bool handleFileViaFunction = false;
116 if (VirtualFileSystem::GetUnsafe(*context)->fileOrPathExists(filePaths[0], context)) {
117 handleFileViaFunction =
118 VirtualFileSystem::GetUnsafe(*context)->handleFileViaFunction(filePaths[0]);
119 }
120 return handleFileViaFunction;
121}
122
123std::unique_ptr<BoundBaseScanSource> Binder::bindFileScanSource(const BaseScanSource& scanSource,
124 const options_t& options, const std::vector<std::string>& columnNames,

Callers 1

bindFileScanSourceMethod · 0.70

Calls 2

handleFileViaFunctionMethod · 0.80
fileOrPathExistsMethod · 0.45

Tested by

no test coverage detected