MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / open_mmap

Function open_mmap

document/container/src/backends/folder.rs:186–191  ·  view source on GitHub ↗

Open a memory-mapped read-only view of `path`, trying huge pages first. Callers must ensure `path` is non-empty, since mmapping a zero-length file is platform-dependent.

(path: &Path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

lookupMethod · 0.85
readMethod · 0.85

Calls 1

openMethod · 0.45

Tested by

no test coverage detected