MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / OSRMLockFile

Method OSRMLockFile

src/storage/shared_memory.cpp:19–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17struct OSRMLockFile
18{
19 OSRMLockFile(const ProjID proj_id)
20 {
21 std::filesystem::path filename =
22 std::filesystem::path("osrm-" + std::to_string(proj_id) + ".lock");
23 lock_file = getLockDir() / filename;
24 }
25 const std::filesystem::path to_path() { return lock_file; }
26 operator const std::filesystem::path::value_type *() const noexcept
27 {

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
getLockDirFunction · 0.85

Tested by

no test coverage detected