MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / invoke_file

Function invoke_file

nanofi/src/api/nanofi.cpp:748–756  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

746}
747
748flow_file_record *invoke_file(standalone_processor* proc, const char* path) {
749 NULL_CHECK(nullptr, path, proc);
750 auto fb = file_to_buffer(path);
751 NULL_CHECK(nullptr, fb.buffer);
752
753 flow_file_record* ffr = invoke_chunk(proc, fb.buffer, fb.file_len);
754 free(fb.buffer);
755 return ffr;
756}
757
758int transfer(processor_session* session, flow *flow, const char *rel) {
759 if (nullptr == session || nullptr == flow || rel == nullptr) {

Callers 1

CAPITests.cppFile · 0.85

Calls 2

file_to_bufferFunction · 0.85
invoke_chunkFunction · 0.85

Tested by

no test coverage detected