MCPcopy Create free account
hub / github.com/duckdb/duckdb / ProcessFile

Function ProcessFile

tools/shell/shell_command_line_option.cpp:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124MetadataResult ProcessFile(ShellState &state, const vector<string> &args) {
125 state.readStdin = false;
126 auto &file = args[1];
127 if (!state.ProcessFile(file)) {
128 ShellState::Exit(1);
129 return MetadataResult::EXIT;
130 }
131 return MetadataResult::SUCCESS;
132}
133
134MetadataResult SetInitFile(ShellState &state, const vector<string> &args) {
135 state.initFile = args[1];

Callers 3

ProcessDuckDBRCMethod · 0.85
ProcessFileMethod · 0.85
LoadBenchmarkMethod · 0.85

Calls 1

ProcessFileMethod · 0.45

Tested by

no test coverage detected