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

Method getFileSlice

ext/src/llvm/MemoryBuffer.cpp:153–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153ErrorOr<std::unique_ptr<MemoryBuffer>>
154MemoryBuffer::getFileSlice(const Twine &FilePath, uint64_t MapSize,
155 uint64_t Offset, bool IsVolatile) {
156 return getFileAux<MemoryBuffer>(FilePath, -1, MapSize, Offset, false,
157 IsVolatile);
158}
159
160//===----------------------------------------------------------------------===//
161// MemoryBuffer::getFile implementation.

Callers

nothing calls this directly

Calls 1

getReadWriteFileFunction · 0.85

Tested by

no test coverage detected