MCPcopy Create free account
hub / github.com/ddnet/ddnet / FormatTmpPath

Method FormatTmpPath

src/engine/shared/storage.cpp:936–940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

934}
935
936const char *IStorage::FormatTmpPath(char *aBuf, unsigned BufSize, const char *pPath)
937{
938 str_format(aBuf, BufSize, "%s.%d.tmp", pPath, process_id());
939 return aBuf;
940}
941
942IStorage *CreateStorage(IStorage::EInitializationType InitializationType, int NumArgs, const char **ppArguments)
943{

Callers

nothing calls this directly

Calls 2

str_formatFunction · 0.85
process_idFunction · 0.85

Tested by

no test coverage detected