MCPcopy Create free account
hub / github.com/ablab/spades / getFile

Method getFile

ext/src/llvm/MemoryBuffer.cpp:244–249  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242
243
244ErrorOr<std::unique_ptr<MemoryBuffer>>
245MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize,
246 bool RequiresNullTerminator, bool IsVolatile) {
247 return getFileAux<MemoryBuffer>(Filename, FileSize, FileSize, 0,
248 RequiresNullTerminator, IsVolatile);
249}
250
251template <typename MB>
252static ErrorOr<std::unique_ptr<MB>>

Callers

nothing calls this directly

Calls 1

getReadWriteFileFunction · 0.85

Tested by

no test coverage detected