MCPcopy Create free account
hub / github.com/chrxh/alien / calcAbsolutePath

Method calcAbsolutePath

source/PersisterInterface/SavepointTableService.cpp:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112std::filesystem::path SavepointTableService::calcAbsolutePath(SavepointTable const& table, SavepointEntry const& entry) const
113{
114 //compatibility with v4.11
115 if (entry->filename.is_absolute()) {
116 return entry->filename;
117 }
118
119 return table.getFilename().parent_path() / entry->filename;
120}
121
122std::filesystem::path SavepointTableService::calcEntryPath(SavepointTable const& table, std::filesystem::path const& absolutePath) const
123{

Callers 1

onLoadSavepointMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected