MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / buildFileName

Function buildFileName

Engine/source/platformPOSIX/posixVolume.cpp:54–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52//-----------------------------------------------------------------------------
53
54static String buildFileName(const String& prefix,const Path& path)
55{
56 // Need to join the path (minus the root) with our
57 // internal path name.
58 String file = prefix;
59 file = Path::Join(file,'/',path.getPath());
60 file = Path::Join(file,'/',path.getFileName());
61 file = Path::Join(file,'.',path.getExtension());
62 return file;
63}
64
65/*
66static bool isFile(const String& file)

Callers 5

resolveMethod · 0.85
createMethod · 0.85
removeMethod · 0.85
renameMethod · 0.85
mapToMethod · 0.85

Calls 3

getFileNameMethod · 0.80
getPathMethod · 0.45
getExtensionMethod · 0.45

Tested by

no test coverage detected